Lukasz Bolikowski wrote:
> 
> Hello!
> 
>    I think the -c option in wget results in misleading output.
> I have been downloading
> 
> ftp://ftp.kernel.org/pub/dist/superrescue/v2/superrescue-2.0.0a.iso.gz
> 
> which is 514596847 bytes long. I aborted the downloading after 246345728
> bytes and then run:
> 
> wget -c --passive-ftp -o super-log ftp://...
> 
> This is the beginning of the logfile:
> 
> --17:52:13--
> ftp://ftp.kernel.org/pub/dist/superrescue/v2/superrescue-2.0.0a.iso.gz
>            => `superrescue-2.0.0a.iso.gz'
> Connecting to ftp.kernel.org:21... connected!
> Logging in as anonymous ... Logged in!
> ==> SYST ... done.    ==> PWD ... done.
> ==> TYPE I ... done.  ==> CWD /pub/dist/superrescue/v2 ... done.
> ==> PASV ... done.    ==> REST 246345728 ... done.
> ==> RETR superrescue-2.0.0a.iso.gz ... done.
> Length: 268,251,119 [21,905,391 to go] (unauthoritative)
> 
>           [ skipping 240550K ]
> 240550K ,,,,,,,,,, ,,,,,,,,,, ,,........ .......... .......... 91% @
> 34.61 KB/s
> <lots of lines>
> 328050K .......... .......... .......... .......... ..........125% @
> 50.81 KB/s
> <snip!>
> 
> IMHO there is much more to go than 21,905,391 bytes. Besides, the
> percentages on the right are incorrect. I'm using GNU Wget 1.7

Yes, this has been an ongoing problem in wget (but it should be fixed
now at least in CVS if not in 1.7), but I cannot reproduce it with wget
1.7 and the URL provided (so that's likely 1.7).

$ wget -d --passive-ftp -c
ftp://ftp.kernel.org/pub/dist/superrescue/v2/superrescue-2.0.0a.iso.gz
DEBUG output created by Wget 1.7 on cygwin.

<snip/>

200 PORT command successful.
done.    ==> REST 316224 ... 
--> REST 316224

350 Restarting at 316224. Send STORE or RETRIEVE to initiate transfer.
done.    
==> RETR superrescue-2.0.0a.iso.gz ... 
--> RETR superrescue-2.0.0a.iso.gz

150 Opening BINARY mode data connection for superrescue-2.0.0a.iso.gz
(514280623 bytes).
done.
Lying FTP server found, adjusting.
Created socket fd 5.
Length: 514,596,847 [514,280,623 to go]

          [ skipping 300K ]
  300K ,,,,,,,,.. .......... .......... .......... ..........  0% @ 
28.56 KB/s
  350K .......... .......... .......... .......... ..........  0% @ 
52.58 KB/s

> 
> Best regards
> 
> Lukasz "Bolo" Bolikowski

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

Reply via email to