Re: boot-floppies 2.3.5 ready for testing (i386 and powerpc so far)
* Ethan Benson
| hacking autoresume into busybox wget might not be trivial. much
| less teaching debootstrap about it.
Actually, it seems like bb-wget supports it already:
wget.c:
/* Make the assumption that if the file already exists
* on disk that the intention is to continue downloading
* a previously aborted download -Erik */
if (stat(fname_out, &sbuf) == 0) {
++do_continue;
}
[snip]
if (do_continue)
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
So fixing debootstrap is the trick.
--
Tollef Fog Heen
You Can't Win
Reply to: