Brix Lichtenberg wrote: > The other thing more or less is ripped from the Windows DL-Manager > FlashGet (but why not). Wouldn't it be useful if wget retrieves a file > to a temporary "renamed" filename, for instance with the extension .wg! or > something and renamed back to the original name after finishing? Two advantages IMO: First you can easily see at which point > a download broke (so you don't have to look for a file by date or size > or something in a whole lot of them). > > The other is the possibility to resume a broken download with the > option -nc (so the already downloaded files aren't looked up again). > Wget needn't check a lot and could determine by the file extension > that this is the one file where it has to continue.
wget needs to remember a LOT more than simply the last file that was being downloaded. It needs to remember all the files it has looked at, the files that have been downloaded, the files that are in the queue to be downloaded, the command line and .wgetrc options, etc. With some clever planning by someone who knows the internals of the program really well, it might be possible for wget to create a resumption file with the state of the download, but I'm guessing that is a huge task. Tony
