FTP Connection Time Out Auto Retry?
I am using Version 4.1.7 (Build 413). I have an automated script that puts a file on an FTP. Every now and then, I get a timeout detected. Is there something I can add to my script that will automatically retry? Here is a snippet of the log error:
. 2014-11-09 17:58:13.088 Timeout detected.
. 2014-11-09 17:58:13.088 Copying files to remote side failed.
. 2014-11-09 17:58:13.088 Connection was lost, asking what to do.
. 2014-11-09 17:58:13.088 Asking user:
. 2014-11-09 17:58:13.088 Lost connection. ("Timeout detected.","Copying files to remote side failed.","ASCII data connection for /bin/ls (154.4.6.95,53122) (0 bytes).")
Here is a sample of my script:
option batch on
option confirm off
open ftp
option transfer ascii
cd targetfolder
put *.txt
close
exit
. 2014-11-09 17:58:13.088 Timeout detected.
. 2014-11-09 17:58:13.088 Copying files to remote side failed.
. 2014-11-09 17:58:13.088 Connection was lost, asking what to do.
. 2014-11-09 17:58:13.088 Asking user:
. 2014-11-09 17:58:13.088 Lost connection. ("Timeout detected.","Copying files to remote side failed.","ASCII data connection for /bin/ls (154.4.6.95,53122) (0 bytes).")
Here is a sample of my script:
option batch on
option confirm off
open ftp
option transfer ascii
cd targetfolder
put *.txt
close
exit