Differences

This shows you the differences between the selected revisions of the page.

2013-04-08 2013-04-15
folder/site (martin) 5.2 bug 769 Change: Session from commandline and/or from jump list is opened by default using existing WinSCP instance. (martin)
Line 4: Line 4:
Parameters for ''[[executables|winscp.exe]]'' executable: Parameters for ''[[executables|winscp.exe]]'' executable:
<code> <code>
-winscp.exe site+winscp.exe site|workspace|folder
winscp.exe <session_url>[/path/[file]] winscp.exe <session_url>[/path/[file]]
 +winscp.exe [mysession] [/newinstance]
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]
Line 27: Line 28:
==== Session ==== ==== Session ====
-The first syntax opens the [[session_configuration#site|site]] (stored session). &beta To open site, stored in folder, use path syntax "folder/site".+The first syntax opens the [[session_configuration#site|site]] (stored session). &beta To open site, stored in folder, use path syntax "folder/site". You can also open [[workspace|workspace]] or all sites in site folder. &beta_feature
The second creates the session specified by [[session_url|session URL]] and optionally by initial remote path. If the remote path is not ended by slash (''/''), it is treated as path to file (or even directory) that should be downloaded. The second creates the session specified by [[session_url|session URL]] and optionally by initial remote path. If the remote path is not ended by slash (''/''), it is treated as path to file (or even directory) that should be downloaded.
 +
 +If there's already idle WinSCP instance running, the session(s) opens in the existing instance. To force session open in new instance of WinSCP, use ''/newinstance'' parameter. &beta_feature
For security reasons, when protocol (such as ''%%sftp://%%'') is provided as part of session URL (possible execution from web browser/Windows Explorer), all command-like parameters that cause any automatic action are ignored, including ''/defaults'', ''/log'', ''/script'' and ''/command''. For security reasons, when protocol (such as ''%%sftp://%%'') is provided as part of session URL (possible execution from web browser/Windows Explorer), all command-like parameters that cause any automatic action are ignored, including ''/defaults'', ''/log'', ''/script'' and ''/command''.

Last modified: by martin