-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Blargg wrote: > Feature idea: when resuming (continuing) on a partially-downloaded > file, resume slightly earlier than normal and compare with the local > copy, to ensure that it's the same file and that the server doesn't > handle resumption erroneously. For example, if I download the first > 10000 bytes of a file, stop, then resume downloading the same file, > wget starts at position 9000 and compares the first 1000 bytes it > receives with the last 1000 bytes of the data already downloaded. The > overlap could be configurable, and default to 1K or so. I'm always a > bit wary when doing resumptions on file formats with no error > correction or whose decoders hide errors, like text files or media > streams.
There's already a feature request to do this, in fact: https://savannah.gnu.org/bugs/index.php?20330 The reason for the option was that some broken proxies will insert a stupid "Connection lost" message when they lose connection to the remote host, turning the results into garbage. :( I'm not sure it's that useful for other situations: if the last 1K or so can become corrupted, something in the middle can be as well... I've got too many bigger things to think about to spend much time on the plethora of little nice-to-haves like this until after 1.12 is released; but as always, patches are quite welcome. :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHphIv7M8hyUobTrERApBhAJ0TNtAbjQeRGX2CT04FZstinQFrqgCfRc9r 9qaBcdtg/hYgCUmzzZUgMjE= =9ds9 -----END PGP SIGNATURE-----
