John McCabe-Dansted ha scritto:
"Wget has no way of verifying that the local file is
really a valid prefix of the remote file"
Couldn't wget redownload the last 4 bytes (or so) of the file?
For a few bytes per file we could detect changes to almost all
compressed files and the majority of uncompressed files.
reliable detection of changes in the resource to be downloaded would be
a very interesting feature. but do you really think that checking the
last X (< 100) bytes would be enough to be reasonably sure the resource
was (not) modified? what about resources which are updated by appending
information, such as log files?
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi http://www.tortonesi.com
University of Ferrara - Dept. of Eng. http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it