bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] Fwd: wget file-size parsing bug when doing FTP mirroring?


From: Niek Bergboer
Subject: [Bug-wget] Fwd: wget file-size parsing bug when doing FTP mirroring?
Date: Wed, 1 Apr 2009 11:54:50 +0200

Hi all,

Currently, I am using wget to mirror files off a friend's NAS, to
provide an off-site backup for him. After having completed the first
complete download, I would like my subsequent downloads to be
incremental. Fair enough, I use wget -m, but some files are still
being re-downloaded despite the fact that they are unchanged.

Example (for the sake of argument, I call the server "server":

Before I start my incremental mirror, there is a local file called
"Sent Items.dbx" that I downloaded before. There is the same
(unchanged) file in dir /some/remote/dir on the NAS. The .listing file
that is downloaded with this incremental copy contains:

[...snip...]
-rw-rw-r--   1 guest    everyone 91892436 Sep 13  2003 Sent Items.dbx
[...snip...]

Mostly as expected. However, wget then tells me:

The sizes do not match (local 91892436) -- retrieving.
ftp://username:address@hidden/some/remote/dir/Sent%20Items.dbx

... and gets the entire ~90MB file again, despite the fact that the
sizes are in fact equal. This seems to occur for all files >=
10,000,000 bytes.

Any clues as to why this occurs? As both the .listing file and the
local filesystem contain the right size, could this be a parsing bug
somewhere in wget?

Thanks in advance,

Niek

--

 "Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." George S. Patton

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
- That's what DRM buys you.




reply via email to

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