This is an old revision of the document!

Documentation » Using WinSCP »

Generate URL Dialog

Generate URL dialog is used to generate a session URL or a file URL.

This feature is available only in the latest beta release.

To open the dialog use:

  • Manage > Generate URL command on Login dialog to generate session URL for selected site.
  • Session > Generate URL command on main window to generate session URL for current session.
  • File(s) > File Names > Generate URL command on main window to generate file URL for files selected in remote file panel.

Advertisement

URL Options

Generated URL always includes protocol and host name portions. Other parts can be included optionally.

Check User name to include username into URL. The option is not available when dialog is opened from Login dialog and user name was not specified; or (rarely) when current session did not require user name.

Check Password to include password into URL. Make sure you protect URL that includes password appropriately. The option is not available when dialog is opened from Login dialog and password was not specified; or when current session does not use password authentication; or when password was not remembered.

Advertisement

Check SSH host key to include SSH host key fingerprint into URL. The option is available for SFTP and SCP (SSH-based) sessions only. The option is not available when the dialog is opened from Login dialog as the host key is not known before session is opened. Note that some (most) SSH clients need not understand session URL that includes host key fingerprint.

Check Initial directory to include initial remote directory into URL. When opened from Login dialog, Remote directory as specified on Advanced site settings dialog is used. When opened from main window, the current working remote directory is used. The option is not available when generating URL for selected file(s) as path to the file(s) is used instead.

Check WinSCP-specific to generate WinSCP-specific URL. Note that you need to enable the option with WebDAV protocol, if you want WinSCP to handle the URL, as WinSCP never registers for http protocol.

Check Save extension to include save extension into URL. As the extension is WinSCP-specific, option WinSCP-specific should be selected along.

Generated URL

Generated URL(s) are shown in bottom box. When generating URL for site, only one URL is displayed. When generating URL for selected file(s), one URL per file is displayed.

Use Copy to Clipboard to copy generated URL(s) to clipboard.

Last modified: by martin