Differences
This shows you the differences between the selected revisions of the page.
2005-01-26 | 2005-01-28 | ||
old revision restored (martin) (hidden) | no summary (129.212.11.23) | ||
Line 9: | Line 9: | ||
Multiple sessions can be opened simultaneously. Use ''session'' command to switch among them. Commands can be read from script file. | Multiple sessions can be opened simultaneously. Use ''session'' command to switch among them. Commands can be read from script file. | ||
- | 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 impossible). |
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 exit code 0. | 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 exit code 0. |