Topic "Auto Retry"

Author Message
[View user's profile]

Joined: 2011-09-22
Posts: 1
Location: United States
Here is my code in a batch file scheduled to run once a day. /console /command "option confirm off" "open ftps://" "put" "exit"

Sometimes, the transfer got broken and the program waits for input to retry or abort. Here is the error message:

Error transferring file ''.
Copying files to remote side failed.
can't access file.
(A)bort, (R)etry, (S)kip, Ski(p) all:

But scheduled job runs in its own window, and no one is there to type in "retry". So the backup job failed. I have looked at similiar posts and tried with SessionReopenAuto in .ini file and /rawsettings, but could not get them to work. Can you please provide a complete example to solve this problem? Prefer to include auto-retry in the command line if possible.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
You are missing
option batch on
option batch abort

Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License