This is an old revision of the document!

See Command-line parameters to learn how to enter the console/scripting mode.

Following commands are implemented: 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.

Advertisement

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).

As WinSCP3.exe is GUI application, it cannot inherit console window when run from other console application (like Windows command-prompt). To allow this, run WinSCP using console interface tool, WinSCP3.com.

Last modified: by martin