session_url » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2015-01-23 | 2015-02-18 | ||
special anchor (martin) | releasing 5.7 stable, removing &beta tags (or replacing with &recent) (martin) | ||
Line 2: | Line 2: | ||
On [[commandline|command-line]] and in parameter of scripting command ''[[scriptcommand_open|open]]'', you can, in addition to using [[session_configuration#site|site]] name, specify an ad-hoc session using URL. | On [[commandline|command-line]] and in parameter of scripting command ''[[scriptcommand_open|open]]'', you can, in addition to using [[session_configuration#site|site]] name, specify an ad-hoc session using URL. | ||
- | You can also paste session %%URL%% on [[ui_login|Login dialog]] or main window (&beta_feature) or even Windows 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 Explorer or web browser (if WinSCP is [[integration_url|registered]] to handle file transfer protocol %%URL%% addresses). |
In [[library|WinSCP .NET assembly]], you can use session %%URL%% as an alternative way to provide session options. Use method ''[[library_sessionoptions_parseurl|SessionOptions.ParseUrl]]''. | In [[library|WinSCP .NET assembly]], you can use session %%URL%% as an alternative way to provide session options. Use method ''[[library_sessionoptions_parseurl|SessionOptions.ParseUrl]]''. | ||
Line 14: | Line 14: | ||
The only mandatory part is ''host''. The host can either be a host name (such as ''example.com''), an IPv4 address (such as ''127.0.0.1'') or an IPv6 address surrounded by square brackets (such as ''[2001:db8:85a3:8d3:1319:8a2e:370:7348]''). | The only mandatory part is ''host''. The host can either be a host name (such as ''example.com''), an IPv4 address (such as ''127.0.0.1'') or an IPv6 address surrounded by square brackets (such as ''[2001:db8:85a3:8d3:1319:8a2e:370:7348]''). | ||
- | You should also always explicitly specify a protocol (''[[sftp]]'', ''[[ftp]]'', ''[[scp]]'', for [[ftps|FTP over TLS/SSL]] use ''ftps'', for [[WebDAV]] use ''http'', for WebDAV over TLS/SSL use ''https''). ((Protocol is ''sftp'' by default, but the default can be changed.)) For all protocols [[integration_url#winscp|WinSCP-specific alternative]] is supported, with ''winscp-'' prefix. //WebDAV protocol is available only in the latest beta release.// &beta | + | You should also always explicitly specify a protocol (''[[sftp]]'', ''[[ftp]]'', ''[[scp]]'', for [[ftps|FTP over TLS/SSL]] use ''ftps'', for [[WebDAV]] use ''http'', for WebDAV over TLS/SSL use ''https''). ((Protocol is ''sftp'' by default, but the default can be changed.)) For all protocols [[integration_url#winscp|WinSCP-specific alternative]] is supported, with ''winscp-'' prefix. |
Most URL's will include also ''username''. | Most URL's will include also ''username''. | ||
Line 62: | Line 62: | ||
===== Generating ===== | ===== Generating ===== | ||
- | You can have WinSCP [[ui_generateurl|generate session URL]]. &beta_feature | + | You can have WinSCP [[ui_generateurl|generate session URL]]. |
You can use [[custom_command|custom command]] pattern ''!S'' to pass a session %%URL%% to other processes. | You can use [[custom_command|custom command]] pattern ''!S'' to pass a session %%URL%% to other processes. |