commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2004-12-21 | 2004-12-31 | ||
links to script and config (martin) | no summary (12.31.68.30) | ||
Line 16: | Line 16: | ||
With ''/upload'' parameter WinSCP uploads specified files to remote directory of session defined using one of the previous syntaxes. | With ''/upload'' parameter WinSCP uploads specified files to remote directory of session defined using one of the previous syntaxes. | ||
- | With ''/synchronize'' or ''/keepuptodate'' parameter WinSCP performs "Synchronize" or "Keep remote directory up to date" commands respectively on specified session and directories. Dialog to set options is displayed first (Note that this is not intended for automation, see [[scripting]]). | + | With ''/synchronize'' or ''/keepuptodate'' parameter WinSCP performs "Synchronize" or "Keep remote directory up to date" commands respectively on the specified session and directories. A dialog to set options is displayed first (Note that this is not intended for automation, see [[scripting]]). |
Parameter ''/console'' executes WinSCP in [[scripting|console (scripting) mode]]. Optional batch script file can be set using ''/script'' command. When the script file does not end with ''exit'' command, regular non-batch mode follows. Note that when WinSCP is executed via [[scripting#console_interface_tool|console interface (WinSCP3.com)]], the ''/console'' parameter is not necessary. | Parameter ''/console'' executes WinSCP in [[scripting|console (scripting) mode]]. Optional batch script file can be set using ''/script'' command. When the script file does not end with ''exit'' command, regular non-batch mode follows. Note that when WinSCP is executed via [[scripting#console_interface_tool|console interface (WinSCP3.com)]], the ''/console'' parameter is not necessary. | ||
- | When run with ''/update'' parametr, WinSCP only checks for new program version on the program website. | + | When run with ''/update'' parameter, WinSCP only checks for new program version on the program's website. |
- | With ''/ini'' parametr you may specify path to [[config|configuration INI file]]. It effectively disables using [[config|registry as configuration storage]]. | + | With ''/ini'' parameter you may specify path to [[config|configuration INI file]]. It effectively disables using [[config|registry as configuration storage]]. |
Parameter ''/help'' shows usage (overview similar to this). Note that that parameter is useless unless used from console (Windows command line prompt) on [[scripting#console_interface_tool|WinSCP console interface]] (without it the usage would just flash on the screen, dissapearing immediatelly). | Parameter ''/help'' shows usage (overview similar to this). Note that that parameter is useless unless used from console (Windows command line prompt) on [[scripting#console_interface_tool|WinSCP console interface]] (without it the usage would just flash on the screen, dissapearing immediatelly). | ||