Topic "Scripts and handling errors"

Author Message
charris

Guest


Is there a way to exit the script early when an error occurs? My scripts continue executing even if a command fails, and I would like to not have this behavior.

Thanks for the help,
charris
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Use this command:
option batch abort

See
help option
charris

Guest


Thank you, great product by the way.
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