Differences
This shows you the differences between the selected revisions of the page.
2005-07-01 | 2005-07-01 | ||
no summary (203.197.90.149) (hidden) | old revision restored (martin) (hidden) | ||
Line 2: | Line 2: | ||
See [[commandline|Command-line parameters]] to learn how to enter the console/scripting mode. | See [[commandline|Command-line parameters]] to learn how to enter the console/scripting mode. | ||
- | ssdadadadasda | + | ===== Commands ===== |
+ | Following commands are implemented: ''call'', ''cd'', ''chmod'', ''close'', ''exit'', ''get'', ''help'', ''keepuptodate'', ''lcd'', ''lls'', ''ln'', ''lpwd'', ''ls'', ''mkdir'', ''mv'', ''open'', ''option'', ''put'', ''pwd'', ''rm'', ''rmdir'', ''session'', ''synchronize'' and several aliases. | ||
+ | |||
+ | Command ''help <command>'' shows comprehensive description of the ''command'' including examples and aliases. | ||
+ | |||
+ | Multiple sessions can be opened simultaneously. Use ''session'' command to switch among them. Commands can be read from script file or passed from command-line using ''/command'' switch. | ||
+ | |||
+ | 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. | ||
===== Console Interface Tool ===== | ===== Console Interface Tool ===== |