commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2013-12-02 | 2013-12-20 | ||
better scripting command-line examples (martin) | 5.5 removing beta tags (martin) | ||
Line 28: | 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". You can also open [[workspace|workspace]] or all sites in site folder. &beta_feature | + | The first syntax opens the [[session_configuration#site|site]]. To open site, stored in folder, use path syntax "folder/site". You can also open [[workspace|workspace]] or all sites in site folder. |
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 | + | 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. |
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''. |