Differences
This shows you the differences between the selected revisions of the page.
2005-01-04 | 2005-01-04 | ||
no summary (martin) | Success exit code (martin) | ||
Line 11: | Line 11: | ||
By default interactive mode is used (user is prompted in the same way as in GUI mode). To switch to batch mode (all prompts are automatically answered negatively) use command ''option batch on''. For the batch mode it is recommended to turn off confirmations using ''option confirm off'' to allow overwrites (otherwise the overwrite confirmation prompt would be answered negatively, making overwrites imposible). | By default interactive mode is used (user is prompted in the same way as in GUI mode). To switch to batch mode (all prompts are automatically answered negatively) use command ''option batch on''. For the batch mode it is recommended to turn off confirmations using ''option confirm off'' to allow overwrites (otherwise the overwrite confirmation prompt would be answered negatively, making overwrites imposible). | ||
- | WinSCP returns exit code 1, when any command is interupted due to an error or any prompt is answered //Abort// (even automatically in batch mode). | + | WinSCP returns exit code 1, when any command is interupted due to an error or any prompt is answered //Abort// (even automatically in batch mode). Otherwise it returns exit code 0. |
===== Console Interface Tool ===== | ===== Console Interface Tool ===== |