PDA

View Full Version : How to download from a ftp site only once?


RodolfoGiovanninetti
05-Nov-2008, 09:29 AM
Is it possible to add an option so that if a download from a ftp site failes it is not tried again? On my system I start a download, then B.C.3 reconnects without an error, it downloads the same file again and then it gives up with a time out error message. The file that has been downloaded is ok, for example I can test a .zip file, only my system cannot complete the operation correctly. It is NOT a B.C.3 bug, it is a problem of my system. But, at least, if I could download the file only once I could save time.

Thank You very much

Rodolfo Giovanninetti

Aaron
10-Nov-2008, 05:07 PM
Hi Rodolfo,

We do not currently have a way to limit a retries like that. Instead, perhaps we could troubleshoot why it is detecting as a failure, so BC then doesn't try to retry. Do other FTP clients (such as Filezilla) have similar issues of failing after a transfer? Would you be able to email your log to support@scootersoftware.com ?

RodolfoGiovanninetti
11-Nov-2008, 04:40 AM
Yes, I have the same problem with other software. The only one that seems to work is GetRight. The problem is related to the workload. If I download a file using a slow line there is the problem, if I download the same file using a fast line it is ok. When I have the problem, if I download a .zip file, if I stop operations after B.C.3 has downloaded it the first time, the .zip file is ok. So the problem seems to be not in the download part, but in closing the download operation.

I put here the log file, I hope it is not too long.

Thank You again

Rodolfo Giovanninetti


11/11/2008 11:17:53 Stat> Connected.
11/11/2008 11:17:53 Recv> 220 DALDLFTP26 Microsoft FTP Service (Version 5.0).
11/11/2008 11:17:53 Sent> HOST [216.143.70.11]
11/11/2008 11:17:53 Recv> 500 'HOST [216.143.70.11]': command not understood
11/11/2008 11:17:53 Sent> USER anonymous
11/11/2008 11:17:54 Recv> 331 Anonymous access allowed, send identity (e-mail name) as password.
11/11/2008 11:17:54 Sent> PASS ********
11/11/2008 11:17:54 Recv> 230-You are connected to ftp.nai.com.Your use is subject to the terms and conditions in Legal.TXT and Usage.TXT files
11/11/2008 11:17:54 Recv> 230 Anonymous user logged in.
11/11/2008 11:17:54 Sent> FEAT
11/11/2008 11:17:54 Recv> 500 'FEAT': command not understood
11/11/2008 11:17:54 Sent> TYPE I
11/11/2008 11:17:54 Recv> 200 Type set to I.
11/11/2008 11:17:54 Sent> SYST
11/11/2008 11:17:55 Recv> 215 Windows_NT version 5.0
11/11/2008 11:17:55 Sent> PWD
11/11/2008 11:17:55 Recv> 257 "/" is current directory.
11/11/2008 11:17:55 Sent> TYPE A
11/11/2008 11:17:55 Recv> 200 Type set to A.
11/11/2008 11:17:55 Sent> PASV
11/11/2008 11:17:55 Recv> 227 Entering Passive Mode (216,143,70,11,6,79)
11/11/2008 11:17:55 Sent> LIST -alT
11/11/2008 11:17:55 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:17:56 Recv> 226 Transfer complete.
11/11/2008 11:17:56 Load comparison: T:\PROVIDER\McAfee <-> ftp://216.143.70.11/
11/11/2008 11:18:00 Sent> CWD /pub
11/11/2008 11:18:00 Recv> 250 CWD command successful.
11/11/2008 11:18:00 Sent> PASV
11/11/2008 11:18:00 Recv> 227 Entering Passive Mode (216,143,70,11,6,107)
11/11/2008 11:18:00 Sent> LIST -alT
11/11/2008 11:18:00 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:18:01 Recv> 226 Transfer complete.
11/11/2008 11:18:02 Sent> CWD /pub/datfiles
11/11/2008 11:18:02 Recv> 250 CWD command successful.
11/11/2008 11:18:02 Sent> PASV
11/11/2008 11:18:02 Recv> 227 Entering Passive Mode (216,143,70,11,6,121)
11/11/2008 11:18:02 Sent> LIST -alT
11/11/2008 11:18:02 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:18:03 Recv> 226 Transfer complete.
11/11/2008 11:18:10 Sent> CWD /pub/datfiles/english
11/11/2008 11:18:10 Recv> 250 CWD command successful.
11/11/2008 11:18:10 Sent> PASV
11/11/2008 11:18:10 Recv> 227 Entering Passive Mode (216,143,70,11,6,153)
11/11/2008 11:18:10 Sent> LIST -alT
11/11/2008 11:18:10 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:18:11 Recv> 226 Transfer complete.
11/11/2008 11:18:17 Deleted T:\PROVIDER\McAfee\pub\datfiles\english\dat-5426.zip
11/11/2008 11:18:17 Successfully deleted 1 items. Completed in 0,33 seconds.
11/11/2008 11:18:19 Sent> PASV
11/11/2008 11:18:19 Recv> 227 Entering Passive Mode (216,143,70,11,6,177)
11/11/2008 11:18:19 Sent> RETR update.ini
11/11/2008 11:18:20 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:18:20 Recv> 226 Transfer complete.
11/11/2008 11:18:20 Copied ftp://216.143.70.11/pub/datfiles/english/update.ini to T:\PROVIDER\McAfee\pub\datfiles\english
11/11/2008 11:18:20 Successfully copied 1 items. Completed in 0,95 seconds.
11/11/2008 11:18:22 Sent> TYPE I
11/11/2008 11:18:22 Recv> 200 Type set to I.
11/11/2008 11:18:22 Sent> PASV
11/11/2008 11:18:22 Recv> 227 Entering Passive Mode (216,143,70,11,6,191)
11/11/2008 11:18:22 Sent> RETR dat-5430.zip
11/11/2008 11:18:22 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:25:03 Stat> Connected.
11/11/2008 11:25:03 Recv> 220 daldlftp30 Microsoft FTP Service (Version 5.0).
11/11/2008 11:25:03 Sent> USER anonymous
11/11/2008 11:25:03 Recv> 331 Anonymous access allowed, send identity (e-mail name) as password.
11/11/2008 11:25:03 Sent> PASS ********
11/11/2008 11:25:03 Recv> 230-You are connected to ftp.nai.com.Your use is subject to the terms and conditions in Legal.TXT and Usage.TXT files
11/11/2008 11:25:04 Recv> 230-
11/11/2008 11:25:04
11/11/2008 11:25:04 230 Anonymous user logged in.
11/11/2008 11:25:04 Sent> FEAT
11/11/2008 11:25:04 Recv> 500 'FEAT': command not understood
11/11/2008 11:25:04 Sent> TYPE I
11/11/2008 11:25:04 Recv> 200 Type set to I.
11/11/2008 11:25:04 Sent> SYST
11/11/2008 11:25:04 Recv> 215 Windows_NT version 5.0
11/11/2008 11:25:04 Sent> PWD
11/11/2008 11:25:04 Recv> 257 "/" is current directory.
11/11/2008 11:25:04 Sent> CWD /pub/datfiles/english
11/11/2008 11:25:04 Recv> 250 CWD command successful.
11/11/2008 11:25:04 Sent> PASV
11/11/2008 11:25:05 Recv> 227 Entering Passive Mode (216,143,70,11,14,81)
11/11/2008 11:25:05 Sent> RETR dat-5430.zip
11/11/2008 11:25:05 Recv> 125 Data connection already open; Transfer starting.
11/11/2008 11:31:16 Unable to copy dat-5430.zip: Read timed out.
11/11/2008 11:31:16 Failed to copy 1 items. Completed in 12 minutes, 54 seconds.

Craig
21-Jan-2009, 06:16 PM
Hi Rodolfo,

Try the new release (3.0.14). I added support for resume on upload/download and there's some keepalive support to keep the control connection open, so it should handle flaky connections better.