commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2019-09-25 | 2019-09-27 | ||
5.16 Switch /defaults accepts an optional delay in seconds to start the operation. (martin) | 5.16 Command-line switch /browse to either force opening the main window when a file URL is specified or to explicitly select a specified file in both file panels (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] /browse[=<file>] | ||
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]] | winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]] | ||
winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults[=secs]] | winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults[=secs]] | ||
Line 122: | Line 123: | ||
Use ''/edit'' to open a remote file in WinSCP [[ui_editor|internal editor]]. | Use ''/edit'' to open a remote file in WinSCP [[ui_editor|internal editor]]. | ||
+ | |||
+ | Use ''/browse'' to select the specified file in (both) [[ui_file_panel|file panel(s)]]. The switch can also be used together with a [[session_url#other|file URL]] for the same effect, overriding the default [[task_download#url|download action]]. &beta_feature | ||
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. | 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. |