bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] problem with --continue and already completed ftp downloads


From: Eike Kohnert
Subject: [Bug-wget] problem with --continue and already completed ftp downloads
Date: Tue, 29 Nov 2011 13:58:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

Hi all,

i use wget to download a complete directory from a ftp server and want to download new files every day.

I use a command like

wget --continue ftp://someserver/somedirectory/*.ZIP

It seems like wget tries to resume files, even if they are already finished. I sniffed the generated network traffic and found something like this:

SIZE XXXX.ZIP
213 872953
PASV
227 Entering Passive Mode (....).
REST 872953
504 Reply marker must be 0.
RETR XXXX.ZIP

I think wget should not do the REST command because the retrieved size equals the size of the already downloaded file. So the resuming download would download only the remaining 0 bytes which does not make much sense. On servers which do not support resume this will cause the whole file being downloaded again.

I used wget version 1.12

Best regards
Eike



reply via email to

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