Location: United States
Posted: 2011-09-22 04:23
Here is my code in a batch file scheduled to run once a day.
winscp.com /console /command "option confirm off" "open ftps://user:firstname.lastname@example.org" "put abc.zip" "exit"
Sometimes, the transfer got broken and the program waits for input to retry or abort. Here is the error message:
Error transferring file 'abc.zip'.
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.
Location: Prague, Czechia
You are missing
option batch on
option batch abort
You can post new topics in this forum
And it's free!