Differences
This shows you the differences between the selected revisions of the page.
2019-05-04 | 2019-08-31 | ||
Restored revision 1553769064. Undoing revisions 1556968551, 1556968613. (martin) (hidden) | put (81.162.70.189) (hidden) (untrusted) | ||
Line 17: | Line 17: | ||
&toc_title(The dialog has three tabs. Each is described individually.) | &toc_title(The dialog has three tabs. Each is described individually.) | ||
- | ===== [[url]] URL Tab ===== | + | open sftp://user2:password@example.com/ |
- | Use the //%%URL%% tab// to generate a [[session_url|session URL]] or a file URL. The tab is not available when generating a file transfer code. | + | # Change the remote directory |
- | + | cd /home/user2 | |
- | &screenshotpict(generateurl) | + | # Upload the file to current working directory |
- | + | put d:\examplefile.txt | |
- | The generated %%URL%% always includes a protocol and a host name portions. Other parts can be included optionally. | + | # Disconnect |
- | + | close | |
- | Check the //User name// to include username into the %%URL%%. The option is not available when the dialog is opened from the Login dialog and the user name was not specified; or (rarely) when the current session did not require the user name. | + | # Exit WinSCP |
- | + | exit | |
- | Check the //Password// to include password into the %%URL%%. Make sure you protect an %%URL%% that includes the password appropriately. The option is not available when the dialog is opened from the Login dialog and the password was not specified; or when the current session does not use a password authentication; or when [[security_credentials|the password was not stored nor remembered]]. | + | |
- | + | ||
- | Check the //Initial directory// to include an initial remote directory into the %%URL%%. When the dialog is opened from the Login dialog, //Remote directory// as specified on the [[ui_login_directories|Advanced site settings dialog]] is used. When opened from the main window, the current working remote directory is used. The option is not available when generating an %%URL%% for selected file(s) as a path to the file(s) is used instead. | + | |
- | + | ||
- | Check the //%%SSH%% host key// to [[session_url#hostkey|include an SSH host key fingerprint into the URL]]. The option is available for an SFTP and an SCP (SSH-based) sessions only. The option is not available, if no session was opened to the host as the host key is not known yet. Note that some (most) %%SSH%% clients need not understand a session %%URL%% that includes the host key fingerprint. | + | |
- | + | ||
- | Check the //WinSCP-specific// to generate an [[integration_url#winscp|WinSCP-specific URL]]. Note that you need to enable the option with the WebDAV protocol, if you want WinSCP to handle the %%URL%%, as WinSCP [[integration_url#registering|never registers]] for the ''http'' protocol. | + | |
- | + | ||
- | Check the //Save extension// to include a [[integration_url#save|save extension]] into the %%URL%%. As the extension is WinSCP-specific, the option //WinSCP-specific// should be selected along. | + | |
- | + | ||
- | Check the //Advanced settings// to serialize all [[session_url#advanced|advanced site settings]] into the URL. As the generated syntax is WinSCP-specific, the option //WinSCP-specific// should be selected along. | + | |
- | + | ||
- | The generated %%URL%%(s) is shown in the bottom box. When generating an %%URL%% for a site, only one %%URL%% is displayed. When generating an %%URL%% for a selected file(s), one %%URL%% per a file is displayed. | + | |
===== [[script]] Script Tab ===== | ===== [[script]] Script Tab ===== |