keepuptodate exits when connection closes

Advertisement

FtpEager
Joined:
Posts:
2

keepuptodate exits when connection closes

Windows 10
WinSCP.exe /script=<see below>

Script:
open ftp://user:password@mysite.tld
keepuptodate <localfolder>

All is good until e.g. ftp server is stopped, ports are closed by firewall or other network problems, then the WinSCP process is stopped after reporting: "Script: Lost connection" etc.
How to script so connection is retried instead of process exiting?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum