[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] wget -N timestamp sometimes off by one second

From: Daniel A. Nagy
Subject: [Bug-wget] wget -N timestamp sometimes off by one second
Date: Thu, 05 Apr 2012 21:51:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20120313 Thunderbird/3.1.20

Version: 1.13.4
Operating System: OpenWrt 10.03.1
Kernel: Linux
Filesystem: vfat

What happens is that wget -N writes a filestamp that is one second
earlier than the Last-modified HTTP header and therefore when invoked
again, downloads the same file again even though it should not. So, the
timestamp it uses for comparison is right, but the one that ends up
written on the filesystem is wrong.

It's not even consistent, with most files it works okay, but for some,
it does not work. So far, I did not manage to find any pattern in those
files that end up mis-timestamped.

Daniel A. Nagy

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]