Differences
This shows you the differences between the selected revisions of the page.
| integration_url 2022-06-21 | integration_url 2026-02-03 (current) | ||
| Line 7: | Line 7: | ||
| If current user's permissions allow, WinSCP register itself for all users. Otherwise it registers for current user only. | If current user's permissions allow, WinSCP register itself for all users. Otherwise it registers for current user only. | ||
| - | ==== [[win_vista_and_newer]] Windows Vista and Newer ==== | + | WinSCP registers to list of applications that handle ''%%sftp://%%'', ''%%ftp://%%'', ''%%ftps://%%'', ''%%ftpes://%%'', ''%%scp://%%'', ''%%ssh://%%'', ''%%dav://%%'', ''%%davs://%%'' and ''%%s3://%%'' protocol %%URL%% addresses. If WinSCP is the first application to support some of these protocols (most often ''%%sftp://%%'', ''%%scp://%%'', ''%%ssh://%%'', ''%%dav://%%'', ''%%davs://%%'' and ''%%s3://%%'', usually also ''%%ftps://%%'' and ''%%ftpes://%%''), it becomes a default application for these. |
| - | On Windows 11, Windows 10, Windows 8, Windows 7, and Windows Vista, WinSCP registers to list of applications that handle ''%%sftp://%%'', ''%%ftp://%%'', ''%%ftps://%%'', ''%%ftpes://%%'', ''%%scp://%%'', ''%%ssh://%%'', ''%%dav://%%'', ''%%davs://%%'' and ''%%s3://%%'' protocol %%URL%% addresses. &winvista &win7 &win8 &win10 &win11 If WinSCP is the first application to support some of these protocols (most often ''%%sftp://%%'', ''%%scp://%%'', ''%%ssh://%%'', ''%%dav://%%'', ''%%davs://%%'' and ''%%s3://%%'', usually also ''%%ftps://%%'' and ''%%ftpes://%%''), it becomes a default application for these. | + | |
| If you want to change the registration (for instance to make WinSCP default application even for ''%%ftp://%%'' %%URL%% addresses): | If you want to change the registration (for instance to make WinSCP default application even for ''%%ftp://%%'' %%URL%% addresses): | ||
| - | * On //[[ui_pref_integration|Integration page]]// of Preferences dialog go to //%%Register to handle URL addresses > Make WinSCP default handler%%//;((Alternatively: On Windows 11 and Windows 10, go to //Settings > Apps > Default Apps//. On Windows 7 and older: go to //Control Panel > Programs > Default Programs > Set your default programs//; &wincp Locate WinSCP in the list; Click //Choose defaults for this program// command link.)) | + | * On //[[ui_pref_integration|Integration page]]// of Preferences dialog go to //%%Register to handle URL addresses > Make WinSCP default handler%%//;((Alternatively: On Windows 11 and Windows 10, go to Windows //Settings > Apps > Default Apps//. On Windows 7: go to //Control Panel > Programs > Default Programs > Set your default programs//; &wincp &win7 &win8 &win10 &win11 Locate WinSCP in the list; Click //Choose defaults for this program// command link.)) |
| * Windows 11 and Windows 10: | * Windows 11 and Windows 10: | ||
| * Windows 11: The //Settings// app opens with //Default Apps// page. Locate and select //WinSCP// in the application list. &win11 | * Windows 11: The //Settings// app opens with //Default Apps// page. Locate and select //WinSCP// in the application list. &win11 | ||
| Line 17: | Line 16: | ||
| * One by one locate the protocols that you want to associate with WinSCP and select //Choose a default//. In the popup menu, select //WinSCP//. | * One by one locate the protocols that you want to associate with WinSCP and select //Choose a default//. In the popup menu, select //WinSCP//. | ||
| * In case you [[microsoft_store#transitioning|have both classic and Microsoft Store installation]], they cannot be distinguished in the application list. But at that stage, it does not matter which one you select. Later in the popup menu, when associating a protocol, select //"WinSCP"//, if you want to use the Microsoft Store installation, or //%%"WinSCP: SFTP, FTP, WebDAV, S3 and SCP client"%%//, if you want to use the classic installation. | * In case you [[microsoft_store#transitioning|have both classic and Microsoft Store installation]], they cannot be distinguished in the application list. But at that stage, it does not matter which one you select. Later in the popup menu, when associating a protocol, select //"WinSCP"//, if you want to use the Microsoft Store installation, or //%%"WinSCP: SFTP, FTP, WebDAV, S3 and SCP client"%%//, if you want to use the classic installation. | ||
| - | * Windows 8, Windows 7 and Windows Vista: | + | * Windows 8 and Windows 7: |
| - | * The //Set Program Associations// Control Panel applet for WinSCP opens; &win8 &win7 &winvista | + | * The //Set Program Associations// Control Panel applet for WinSCP opens; &win8 &win7 |
| * Choose the protocols you want WinSCP to be the default application for. | * Choose the protocols you want WinSCP to be the default application for. | ||
| WinSCP never registers to handle WebDAV ''%%http://%%'' %%URL%% addresses not to conflict with web browser registration. Though, it registers ''%%dav://%%'', ''%%davs://%%'' and [[#winscp|WinSCP-specific WebDAV URL addresses]]. | WinSCP never registers to handle WebDAV ''%%http://%%'' %%URL%% addresses not to conflict with web browser registration. Though, it registers ''%%dav://%%'', ''%%davs://%%'' and [[#winscp|WinSCP-specific WebDAV URL addresses]]. | ||
| - | |||
| - | ==== [[winxp]] Windows XP ==== | ||
| - | On Windows XP, WinSCP registers to handle ''%%sftp://%%'', ''%%scp://%%'', ''%%dav://%%'', ''%%davs://%%'' and ''%%s3://%%'' protocol %%URL%% addresses, overriding previous registration, if any. &winxp | ||
| - | |||
| - | To change the registration: | ||
| - | * Go to //Control Panel > Folder Options > File Types//; &wincp | ||
| - | * Search a list for //File types// "%%URL: SFTP Protocol%%", "%%URL: SCP Protocol%%", etc; | ||
| - | * Click //Advanced// button; | ||
| - | * Select "open" action; | ||
| - | * Click //Edit// button. | ||
| ==== [[winscp]] WinSCP-specific URL protocols ==== | ==== [[winscp]] WinSCP-specific URL protocols ==== | ||
| Line 60: | Line 49: | ||
| You can have WinSCP generate %%URL%% using: | You can have WinSCP generate %%URL%% using: | ||
| - | * //Session > Generate Session %%URL%%/Code// command on main window to generate session %%URL%% for current session (preferred as it guarantees that [[session_url#hostkey|SSH host key fingerprint]] is included in the %%URL%%). | + | * //Tabs > Generate Session %%URL%%/Code// command on the main window to generate session %%URL%% for current session (preferred as it guarantees that [[session_url#hostkey|SSH host key fingerprint]] is included in the %%URL%%). |
| * //Manage > Generate Session %%URL%%/Code// command on [[ui_login|Login dialog]] to generate session %%URL%% for selected site. | * //Manage > Generate Session %%URL%%/Code// command on [[ui_login|Login dialog]] to generate session %%URL%% for selected site. | ||
| - | * //File(s) > File Names > Generate File %%URL%%// command on main window to generate file %%URL%% for files selected in remote [[ui_file_panel|file panel]]. | + | * //Files > File Names > Generate File %%URL%%// command on the main window to generate file %%URL%% for files selected in remote [[ui_file_panel|file panel]]. |
| ===== Injecting URL to a Page===== | ===== Injecting URL to a Page===== | ||
| You can use a user script to [[guide_injecting_sftp_ftp_url_to_page|inject SFTP or FTP URL to a page]] (such an Amazon EC2 management console). | You can use a user script to [[guide_injecting_sftp_ftp_url_to_page|inject SFTP or FTP URL to a page]] (such an Amazon EC2 management console). | ||