This is an old revision of the document!

Protocol URL Addresses

WinSCP can be registered to handle SFTP and SCP protocol URL addresses. See supported URL format.

If the path part of the URL does end with slash (/) WinSCP starts with the path as initial remote directory. If the path does not end with slash, the file (or directory) specified by it is downloaded.

To make WinSCP save session settings provided by URL to a site instead of opening a session, add ;save after trailing slash (/) of the URL. This feature is available only in the latest beta release. For SFTP/SCP URL this should be combined with including SSH host key fingerprint in the URL. Example: sftp://martin:mypassword;fingerprint=ssh-rsa-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx@example.com/;save

Advertisement

To register WinSCP to handle the URL addresses use installer or go to Preferences dialog.

If current user’s permissions allow, WinSCP register itself for all users. Otherwise it registers for current user only.

Learn how to copy URL of file selected in file panel to clipboard.

Last modified: by martin