Differences

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

2019-09-27 2019-09-27
other anchor (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. + separate dir/file url section (martin)
Line 79: Line 79:
  http://martin@example.com/dav/   http://martin@example.com/dav/
 +
 +===== [[file]] Directory or File URL =====
 +
 +A [[commandline#session|URL specified on command-line]] can include an initial remote path (the path has to end with a slash): \\
 +''%%sftp://username@example.com/remote/path/%%''
 +
 +You can also include a file path into the URL: \\
 +''sftp://username@example.com/remote/path/file.txt''
 +
 +By default, it will initiate the file  [[task_download#url|download]]. When combined with [[commandline#operations|''/browse'' switch]], the file will instead be selected in a [[ui_file_panel|file panel]].
===== [[other]] Other Uses ===== ===== [[other]] Other Uses =====
You can also paste session %%URL%% on [[ui_login|Login dialog]] or main window or even Windows File Explorer or web browser (if WinSCP is [[integration_url|registered]] to handle file transfer protocol %%URL%% addresses). You can also paste session %%URL%% on [[ui_login|Login dialog]] or main window or even Windows File Explorer or web browser (if WinSCP is [[integration_url|registered]] to handle file transfer protocol %%URL%% addresses).
- 
-A [[commandline#session|URL specified on command-line]] can include an initial remote path or a path to a file that should be [[task_download#url|downloaded]].  
You can use [[custom_command|custom command]] patterns ''!E'' or ''!S'' to pass a session %%URL%% to other processes. You can use [[custom_command|custom command]] patterns ''!E'' or ''!S'' to pass a session %%URL%% to other processes.

Last modified: by martin