Differences

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

2014-08-28 2014-08-28
webdav link (martin) all keepass examples use BASE: instead of URL:, though I don't understand the difference (martin)
Line 18: Line 18:
<code> <code>
-cmd://"%PROGRAMFILES(x86)%\WinSCP\WinSCP.exe" {URL:SCM}://{USERNAME}:{PASSWORD}@{URL:HOST}:{T-REPLACE-RX:/{URL:PORT}/-1//}+cmd://"%PROGRAMFILES(x86)%\WinSCP\WinSCP.exe" {BASE:SCM}://{USERNAME}:{PASSWORD}@{BASE:HOST}:{T-REPLACE-RX:/{BASE:PORT}/-1//}
</code> </code>
On 32-bit systems, replace ''%PROGRAMFILES(x86)%'' with ''%PROGRAMFILES%''. &winpath &win32 On 32-bit systems, replace ''%PROGRAMFILES(x86)%'' with ''%PROGRAMFILES%''. &winpath &win32
-The ''%%{T-REPLACE-RX:/{URL:PORT}/-1//}%%'' is a workaround for KeePass resolving the ''%%{URL:PORT}%%'' placeholder to ''-1'', when a password entry //%%URL%%// field does not specify the port explicitly and KeePass does not know the protocol (such as ''sftp'') to substitute a standard port.+The ''%%{T-REPLACE-RX:/{BASE:PORT}/-1//}%%'' is a workaround for KeePass resolving the ''%%{BASE:PORT}%%'' placeholder to ''-1'', when a password entry //%%URL%%// field does not specify the port explicitly and KeePass does not know the protocol (such as ''sftp'') to substitute a standard port.
See KeePass documentation for [[http://keepass.info/help/base/placeholders.html|placeholders]]. See KeePass documentation for [[http://keepass.info/help/base/placeholders.html|placeholders]].
-Repeat override definition for each protocol you want to use with WinSCP (''sftp'', ''ftp'', ''ftps'', ''scp'', ''http'', ''https''). If you want to use [[webdav|WebDAV]] sessions, but you want to keep ''http'' protocol reserved for a web browser, you can use custom scheme for the protocol, e.g. ''webdav''. Then, in the //%%URL%% Override// field, you need to explicitly use ''http'', instead of referring by ''$${URL:SCM}$$'' to the protocol from the password entry //%%URL%%// field.+Repeat override definition for each protocol you want to use with WinSCP (''sftp'', ''ftp'', ''ftps'', ''scp'', ''http'', ''https''). If you want to use [[webdav|WebDAV]] sessions, but you want to keep ''http'' protocol reserved for a web browser, you can use custom scheme for the protocol, e.g. ''webdav''. Then, in the //%%URL%% Override// field, you need to explicitly use ''http'', instead of referring by ''$${BASE:SCM}$$'' to the protocol from the password entry //%%URL%%// field.
===== Opening URL/Site ===== ===== Opening URL/Site =====

Last modified: by martin