Differences
This shows you the differences between the selected revisions of the page.
| 2012-09-26 | 2013-05-09 | ||
| link library from "Modifying the script automatically" section (martin) | use /xmllog for xml logging explicitly (martin) | ||
| Line 101: | Line 101: | ||
| To check results of the script you can: | To check results of the script you can: | ||
| * Check exit code of WinSCP (exit code is the only relevant and reliable way to check if script completed successfully). See example below and [[faq_script_result|FAQ]]. | * Check exit code of WinSCP (exit code is the only relevant and reliable way to check if script completed successfully). See example below and [[faq_script_result|FAQ]]. | ||
| - | * Save and inspect log file. [[logging_xml|XML log format]] is recommended. Use [[commandline|command-line]] parameter ''/log''. | + | * Save and inspect log file. [[logging_xml|XML log format]] is recommended. Use [[commandline|command-line]] parameter ''/xmllog''. |
| * Save and inspect output of the script. Use [[executables|output redirection]]. | * Save and inspect output of the script. Use [[executables|output redirection]]. | ||