Hi,
I'm writing because when wget connecto to some ftp servers in
order to continue a download, and the file is already downloaded
I recive a "0 Remaining" message and it seems that wget
try to download 0 bytes.
Also, in the report when wget exit, it report that it has downloaded
the file again when in fact 0 bytes was transfered for that already
downloaded file.
Here is an example:
[EMAIL PROTECTED] opensuse]# ls -lh
-rw-r--r-- 1 root root 658M Nov 5 03:50 SUSE-10.0-CD-OSS-i386-GM-CD4.iso
-rw-r--r-- 1 root root 565M Nov 5 05:05 SUSE-10.0-CD-OSS-i386-GM-CD5.iso
[EMAIL PROTECTED] opensuse]# wget -c --passive-ftp \
ftp://mirrors.kernel.org/opensuse/distribution/SL-10.0-OSS/iso/SUSE-10.0-CD-OSS-i386-GM-CD5.iso
\
ftp://mirrors.kernel.org/opensuse/distribution/SL-10.0-OSS/iso/SUSE-10.0-CD-OSS-i386-GM-CD4.iso
--13:03:22--
ftp://mirrors.kernel.org/opensuse/distribution/SL-10.0-OSS/iso/SUSE-10.0-CD-OSS-i386-GM-CD5.iso
=> `SUSE-10.0-CD-OSS-i386-GM-CD5.iso'
Resolving mirrors.kernel.org... 204.152.191.7, 204.152.191.39
Connecting to mirrors.kernel.org|204.152.191.7|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /opensuse/distribution/SL-10.0-OSS/iso ...
done.
==> SIZE SUSE-10.0-CD-OSS-i386-GM-CD5.iso ... done.
==> PASV ... done. ==> REST 591497216 ... done.
==> RETR SUSE-10.0-CD-OSS-i386-GM-CD5.iso ... done.
Length: 591,497,216 (564M), 0 (0) remaining
100%[+++++++++++++++++++++++++++++++++++++] 591,497,216 --.--K/s
13:03:54 (0.00 B/s) - `SUSE-10.0-CD-OSS-i386-GM-CD5.iso' saved [591497216]
--13:03:54--
ftp://mirrors.kernel.org/opensuse/distribution/SL-10.0-OSS/iso/SUSE-10.0-CD-OSS-i386-GM-CD4.iso
=> `SUSE-10.0-CD-OSS-i386-GM-CD4.iso'
Connecting to mirrors.kernel.org|204.152.191.7|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /opensuse/distribution/SL-10.0-OSS/iso ...
done.
==> SIZE SUSE-10.0-CD-OSS-i386-GM-CD4.iso ... done.
==> PASV ... done. ==> REST 689598464 ... done.
==> RETR SUSE-10.0-CD-OSS-i386-GM-CD4.iso ... done.
Length: 689,598,464 (658M), 0 (0) remaining
100%[+++++++++++++++++++++++++++++++++++++] 689,598,464 --.--K/s
13:04:25 (0.00 B/s) - `SUSE-10.0-CD-OSS-i386-GM-CD4.iso' saved [689598464]
FINISHED --13:04:25--
Downloaded: 1,281,095,680 bytes in 2 files
It says that wget downloaded "1,281,095,680 bytes in 2 files", but in
fact both files where already downloaded.
Is this a problem with some ftp servers that confuses wget or is a problem
in wget?
Many thanks
Oliver
--
Oliver Schulze L.
<[EMAIL PROTECTED]>