Differences
This shows you the differences between the selected revisions of the page.
2011-03-18 | 2011-03-23 | ||
Restored revision 1297668946. Undoing revision 1300460123. (martin) (hidden) | check exit code with winscp.com only (martin) | ||
Line 19: | Line 19: | ||
===== Checking Results ===== | ===== Checking Results ===== | ||
- | WinSCP returns exit code 1, when any command is interrupted due to an error or any prompt is answered //Abort// (even automatically in batch mode). Otherwise it returns the exit code 0. To further analyze results of scripted operations, you will find [[logging_xml|XML logging]] useful. | + | WinSCP returns exit code 1, when any command is interrupted due to an error or any prompt is answered //Abort// (even automatically in batch mode). Otherwise it returns the exit code 0.((When checking WinSCP exit code from batch file, make sure you are using [[executables|winscp.com]].)) |
+ | |||
+ | To further analyze results of scripted operations, you will find [[logging_xml|XML logging]] useful. | ||
===== Commands ===== | ===== Commands ===== |