Jorge Pereira wrote:
Hi,
When using wget with -N and -O, the comparison is not done to the file
specified with -O, it is done to whatever filename the server replies
with (and it doesn't exist, because it's being written under a different
name, so no time comparison is done).
I searched around and can't seem to find a way around it. Am I missing
something here? Is this an expected feature or a bug?
this is clearly a bug. and, unfortunately, fixing it is not trivial.
however, i am taking this opportunity to perform a badly needed
refactoring of the HTTP code. i will probably be able to commit the
bugfix in a couple of days.
--
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