Hello everybody,

I'm trying to download thousands of files from an external FTP site, I
noticed that sometimes a file is not downloaded and the following error
appears :

*--2010-12-20 17:33:09--  ftp://ftp.sample.it/00002470.PDF
           => `DOWNLOAD_WGET/00002470.PDF'
==> CWD not required.
==> PASV ...
Error in server response, closing control connection.
Retrying.

--2010-12-20 17:33:11--  ftp://ftp.sample.it/00002470.PDF
  (try: 2) => `DOWNLOAD_WGET/00002470.PDF'
Connecting to ftp.sample.it|:21... connected.
Logging in as pragma ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /data ... done.
==> PASV ... done.    ==> REST 176885 ... done.
==> RETR 00002470.PDF ... done.
Length: 176885 (173K), 0 (0) remaining

        [ skipping 150K ]
   150K ,,,,,,,,,, ,,,,,,,,,, ,,                              100% 0.00 =0s
*
As you can see, wget tries to download the file again, but the file remains
empty.

This is my wget command :

*wget.exe -r -nH -nc --tries=3 -o c:\temp\sysout.txt --ftp-user=xxx
--ftp-password=xxx -P DOWNLOAD_WGET ftp://ftp.sample.it/
*
Thanks in advance,

  Davide

Reply via email to