I'm using wget version "GNU Wget 1.10.2 (Red Hat modified)" on a fedora
core5 x86_64 system (standard wget rpm). I'm also using version 1.10.2b
on a WinXP laptop. Both display the same faulty behaviour which I don't
believe was present in earlier versions of wget that I've used.

When the internet connection disconnects wget automatically tries to
redownload the file (starting from where it was disconnected).

The problem is that it is consistently failing to find the file. The
following output shows what is happening.

wget -c ftp://bio-mirror.jp.apan.net/pub/biomirror/blast/nr.*.tar.gz
--13:13:34--
ftp://bio-mirror.jp.apan.net/pub/biomirror/blast/nr.*.tar.gz
           => `.listing'
Resolving bio-mirror.jp.apan.net... 150.26.2.58
Connecting to bio-mirror.jp.apan.net|150.26.2.58|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/biomirror/blast ... done.
==> PASV ... done.    ==> LIST ... done.

    [  <=>                                ] 4,657         10.78K/s

13:13:43 (10.75 KB/s) - `.listing' saved [4657]

Removed `.listing'.
--13:13:43--
ftp://bio-mirror.jp.apan.net/pub/biomirror/blast/nr.00.tar.gz
           => `nr.00.tar.gz'
==> CWD /pub/biomirror/blast ... done.
==> PASV ... done.    ==> REST 240604000 ... done.
==> RETR nr.00.tar.gz ... done.
Length: 875,518,563 (835M), 634,914,563 (606M) remaining

36% [++++++++++==>                        ] 315,859,600    9.63K/s  ETA
7:26:45

14:13:53 (20.39 KB/s) - Control connection closed.
Retrying.

--14:13:54--
ftp://bio-mirror.jp.apan.net/pub/biomirror/blast/nr.00.tar.gz
  (try: 2) => `nr.00.tar.gz'
Connecting to bio-mirror.jp.apan.net|150.26.2.58|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not required.
==> PASV ... done.    ==> REST 315859600 ... done.
==> RETR nr.00.tar.gz ...
No such file `nr.00.tar.gz'.

--14:13:59--
ftp://bio-mirror.jp.apan.net/pub/biomirror/blast/nr.01.tar.gz
           => `nr.01.tar.gz'
==> CWD /pub/biomirror/blast ... done.
==> PASV ... done.    ==> REST 270872000 ... done.
==> RETR nr.01.tar.gz ... done.
Length: 362,103,053 (345M), 91,231,053 (87M) remaining

91% [+++++++++++++++++++++++++++=====>    ] 331,517,200   11.55K/s
ETA 30:23

15:14:15 (16.39 KB/s) - Control connection closed.
Retrying.

--15:14:16--
ftp://bio-mirror.jp.apan.net/pub/biomirror/blast/nr.01.tar.gz
  (try: 2) => `nr.01.tar.gz'
Connecting to bio-mirror.jp.apan.net|150.26.2.58|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not required.
==> PASV ... done.    ==> REST 331517200 ... done.
==> RETR nr.01.tar.gz ...
No such file `nr.01.tar.gz'.

You can see that there are two files to be downloaded nr.00.tar.gz and
nr.01.tar.gz. Both downloads get interrupted and after the Control
connection is closed the reattempt fails to find the file. This is
consistent repeatable behaviour.

I have checked and the files are there and have not moved or altered in
any way.

I believe that the problem is almost certainly associated with the
logged item "CWD not required" after a reconnect.

Cheers
-- 
Paul Bickerstaff
Managing Director & Bioinformatics Consultant
Infoics Limited
PO Box 83153, Edmonton, Auckland 0652, New Zealand.
Mobile:   +64-21-390 266
Home/Fax: +64-9-837 8202
[EMAIL PROTECTED]          www.infoics.com

Reply via email to