Differences
This shows you the differences between the selected revisions of the page.
library_sessionoptions_parseurl 2019-03-27 | library_sessionoptions_parseurl 2023-05-24 (current) | ||
Line 20: | Line 20: | ||
===== Remarks ===== | ===== Remarks ===== | ||
- | Parses the given [[session_url|session URL]] and stores the results into ''Protocol'', ''HostName'', ''UserName'', ''Password'' (''SecurePassword''), ''PortNumber'', ''SshHostKeyFingerprint'', ''FtpSecure'', ''WebdavSecure'' and ''WebdavRoot'' [[library_sessionoptions#properties|properties]]. | + | Parses the given [[session_url|session URL]] and stores the results into ''Protocol'', ''HostName'', ''UserName'', ''Password'' (''SecurePassword''), ''PortNumber'', ''SshHostKeyFingerprint'', ''FtpSecure'', ''Secure'' and ''RootPath'' [[library_sessionoptions#properties|properties]]. |
Resets properties not specified in the URL to their default values. Always resets ''GiveUpSecurityAndAcceptAnySshHostKey'', ''TlsHostCertificateFingerprint'', and ''GiveUpSecurityAndAcceptAnyTlsHostCertificate'' to their default values. | Resets properties not specified in the URL to their default values. Always resets ''GiveUpSecurityAndAcceptAnySshHostKey'', ''TlsHostCertificateFingerprint'', and ''GiveUpSecurityAndAcceptAnyTlsHostCertificate'' to their default values. | ||
Line 28: | Line 28: | ||
Note that the method parser is more strict, than a parser used for URLs with scripting command ''[[scriptcommand_open|open]]'' or [[commandline|command-line]]. | Note that the method parser is more strict, than a parser used for URLs with scripting command ''[[scriptcommand_open|open]]'' or [[commandline|command-line]]. | ||
- | //You can use the method to accept session %%URL%% provided by a [[custom_command|custom command]] patterns ''!E'' or ''!S''. This allows easy implementation of WinSCP extensions using e.g. [[library_powershell|PowerShell scripts]] that make use of [[library|WinSCP .NET assembly]].// &beta (* emphasis on !E, once 5.14 is stable *) | + | //You can use the method to accept session %%URL%% provided by a [[custom_command|custom command]] patterns ''!E'' (preferred) or ''!S''. This allows an easy implementation of WinSCP extensions using e.g. [[library_powershell|PowerShell scripts]] that make use of [[library|WinSCP .NET assembly]].// |
- | + | ||
- | + |