commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2016-02-28 | 2016-06-22 | ||
&man_ref (martin) | 5.8.4 Command-line switch /refresh to allow extensions to refresh remote panel. (martin) | ||
Line 11: | Line 11: | ||
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults] | winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults] | ||
winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults] | winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults] | ||
+ | winscp.exe [mysession] /refresh [path] | ||
winscp.exe [mysession] /upload file1 file2 file3 ... [/defaults] | winscp.exe [mysession] /upload file1 file2 file3 ... [/defaults] | ||
winscp.exe [mysession] [/privatekey=<file>] [/hostkey=<fingerprint>] | winscp.exe [mysession] [/privatekey=<file>] [/hostkey=<fingerprint>] | ||
Line 118: | Line 119: | ||
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. | ||
+ | |||
+ | 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. &beta_feature | ||
It is recommended to escape the arguments with [[#syntax|// switch]]. | It is recommended to escape the arguments with [[#syntax|// switch]]. |