Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

siksol wrote:

If I install version 5.5.3, will all my batch script commands work the same?

Yes, in 99% of the cases.

You can search version history for "Change:" to find all backward-incompatible changes.
https://winscp.net/eng/docs/history
https://winscp.net/eng/docs/history_old
Though the script shown about should not be affected. It uses some obsoleted syntax (like option transfer ascii), but all of it is still supported.
siksol

If I install version 5.5.3, will all my batch script commands work the same?
martin

Re: FTP Connection Time Out Auto Retry?

WinSCP should automatically retry. Though I cannot tell if 4.1.7 (6 years old) supports that or not. Try the latest version.
siksol

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