commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2006-05-07 | 2006-05-07 | ||
3.8.1 /console is optional (martin) | 3.8.1 /defaults (martin) | ||
Line 5: | Line 5: | ||
winscp3.exe stored_session | winscp3.exe stored_session | ||
winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path/[file]] [/privatekey=key_file] | winscp3.exe [(scp|sftp)://][user[:password]@]host[:port][/path/[file]] [/privatekey=key_file] | ||
- | winscp3.exe [session] /upload file1 file2 file3 ... | + | winscp3.exe [session] /upload file1 file2 file3 ... [/defaults] |
- | winscp3.exe [session] /synchronize [local_directory] [remote_directory] | + | winscp3.exe [session] /synchronize [local_directory] [remote_directory] [/defaults] |
- | winscp3.exe [session] /keepuptodate [local_directory] [remote_directory] | + | winscp3.exe [session] /keepuptodate [local_directory] [remote_directory] [/defaults] |
winscp3.exe [session] [/console] [/script=script_file] [/command command1 command2 ...] | winscp3.exe [session] [/console] [/script=script_file] [/command command1 command2 ...] | ||
winscp3.exe /update | winscp3.exe /update | ||
Line 20: | Line 20: | ||
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]]). | 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]]). | ||
+ | |||
+ | Use ''/defaults'' parameter along with ''/upload'', ''/synchronize'' or ''/keepuptodate'' to skip the settings dialog and start the operation straight away with default settings. | ||
Parameter ''/console'' executes WinSCP in [[scripting|console (scripting) mode]]. Note that when WinSCP is executed via [[scripting#console|console interface (WinSCP3.com)]], the ''/console'' parameter is not necessary. | Parameter ''/console'' executes WinSCP in [[scripting|console (scripting) mode]]. Note that when WinSCP is executed via [[scripting#console|console interface (WinSCP3.com)]], the ''/console'' parameter is not necessary. |