Differences
This shows you the differences between the selected revisions of the page.
| 2008-03-21 | 2008-03-21 | ||
| sendmail example (martin) | no summary (martin) | ||
| Line 56: | Line 56: | ||
| ===== [[results]] Checking script results ===== | ===== [[results]] Checking script results ===== | ||
| To check results of the script your can: | To check results of the script your can: | ||
| - | * Check exit code of WinSCP. See [[faq_script_result|another FAQ]]. | + | * Check exit code of WinSCP. See example below and [[faq_script_result|another FAQ]] |
| * Save and inspect log file. Use [[commandline|command-line]] parameter ''/log''. | * Save and inspect log file. Use [[commandline|command-line]] parameter ''/log''. | ||
| * Save and inspect output of the script. Use output redirection (''> filename'' at the end of commandline executing WinSCP). Note that you can redirect output of ''WinSCP.com'' only (see [[scripting#console|documentation]]). | * Save and inspect output of the script. Use output redirection (''> filename'' at the end of commandline executing WinSCP). Note that you can redirect output of ''WinSCP.com'' only (see [[scripting#console|documentation]]). | ||