Contents » Troubleshooting » FAQ (Frequently Asked Questions) »

How do I know that script completed successfully?

You can tell the result of script by WinSCP exit code. Code 0 indicates success, while 1 indicates an error. For more details refer to scripting documentation.

If you want the script to terminate with code 1 immediately once any error occurs, use command option batch abort.

For an example see FAQ about transfer automation.

 
  faq_script_result.txt · Last modified: 21 Mar 2008 10:23 by 193.179.225.19 (prikryl)
 

Site Search

This page

Donate

Donate via PayPal

Associations

Webhosting phpBB
Hosted by SourceForge Bookmark Manager
Driven by DokuWiki

Site design by Black Gate

Promotion consulting by TechWeb Media