Topic "Switching SFTP sites due to an error."

Author Message
Steakbowl
[View user's profile]

Joined: 2015-09-14
Posts: 2
I need to code a script that will send my files to a DR site in the event that the main site is down. Any thoughts?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Run the script from a batch file, check for exit code 1, and fallback to DR script.

See http://winscp.net/eng/docs/guide_automation#results
Steakbowl
[View user's profile]

Joined: 2015-09-14
Posts: 2
prikryl wrote:
Run the script from a batch file, check for exit code 1, and fallback to DR script.

See http://winscp.net/eng/docs/guide_automation#results


I will do that, thank you!
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License