Auto Retry

Advertisement

bo_dong
Joined:
Posts:
1
Location:
United States

Auto Retry

Here is my code in a batch file scheduled to run once a day.

winscp.com /console /command "option confirm off" "open ftps://user:password@www.domain.com" "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.

Thanks,

Reply with quote

Advertisement

You can post new topics in this forum