Subject: Re: 'make fetch' and partial downloads
To: David Brownlee <>
From: David Forbes <>
List: tech-pkg
Date: 07/19/2001 19:02:30
> 	If 'make fetch' fails part way through a download we are left with
> 	a partial file which breaks the checksum and has to be manually
> 	removed before continuing.
> 	What do people think about changing the 'make fetch' target to
> 	download to a temporary file and rename after download is
> 	complete? Would we want to use a fixed name per distfile
> 	(eg: ${distfile}.downloading)?

Don't we have some file size info in the distinfo files, now?  Could we
not do something like " if file < expected size then attempt ftp reget "?
That would be immensely useful, if for instance, your free dial up
connection cuts you off after a certain time.