commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2019-08-28 | 2019-09-25 | ||
url download (martin) | 5.16 Switch /defaults accepts an optional delay in seconds to start the operation. (martin) | ||
Line 9: | Line 9: | ||
winscp.exe [mysession] [/newinstance] | winscp.exe [mysession] [/newinstance] | ||
winscp.exe [mysession] /edit <path> | winscp.exe [mysession] /edit <path> | ||
- | winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults] | + | winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]] |
- | winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults] | + | winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults[=secs]] |
winscp.exe [mysession] /refresh [path] | winscp.exe [mysession] /refresh [path] | ||
- | winscp.exe [mysession] /upload file1 file2 file3 ... [/defaults] | + | winscp.exe [mysession] /upload file1 file2 file3 ... [/defaults[=secs]] |
winscp.exe [mysession] [/privatekey=<file> [/passphrase=<passphrase>]] | winscp.exe [mysession] [/privatekey=<file> [/passphrase=<passphrase>]] | ||
winscp.exe [mysession] [/hostkey=<fingerprint>] | winscp.exe [mysession] [/hostkey=<fingerprint>] | ||
Line 127: | Line 127: | ||
With ''/upload'' parameter WinSCP uploads specified files to initial remote directory of session.((Parameter is primarily intended to allow [[integration#send_to|Windows File Explorer's 'Send To' menu]] integration.)) A dialog to set options is displayed first. | With ''/upload'' parameter WinSCP uploads specified files to initial remote directory of session.((Parameter is primarily intended to allow [[integration#send_to|Windows File Explorer's 'Send To' menu]] integration.)) A dialog to set options is displayed first. | ||
- | Use ''/defaults'' parameter along with ''/upload'', ''/synchronize'' or ''/keepuptodate'' to skip the settings dialog and start the operation straight away with default settings. | + | Use ''/defaults'' parameter along with ''/upload'', ''/synchronize'' or ''/keepuptodate'' to skip the settings dialog and start the operation straight away with default settings. Alternatively you can specify a number of seconds, to actually show the settings dialogs, but have them automatically submit after the specified time elapses. &beta_feature |
Use the ''/refresh'' parameter to reload remote panel of all running instances of WinSCP. If a session is specified on command-line, only instances that have that session as active are refreshed. If a path is specified after the ''/refresh'', only that directory is refreshed. | Use the ''/refresh'' parameter to reload remote panel of all running instances of WinSCP. If a session is specified on command-line, only instances that have that session as active are refreshed. If a path is specified after the ''/refresh'', only that directory is refreshed. |