Differences

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

2014-12-19 2014-12-19
5.6.4 Replaced FtpSecure.ExplicitTls .NET assembly option with FtpSecure.Explicit and deprecated FtpSecure.ExplicitSsl. (martin) ordering properties (martin)
Line 27: Line 27:
| string HostName | Name of the host to connect to. Mandatory property. | | string HostName | Name of the host to connect to. Mandatory property. |
| string Password | Password for authentication. | | string Password | Password for authentication. |
-| [[msdn>system.security.securestring|SecureString]] SecurePassword | Encrypted password for authentication. Use instead of ''Password'' to reduce a number of unencrypted copies of the password in memory. &beta_feature | 
| int PortNumber | Port number to connect to. Keep default ''0'' to use the default port for the protocol. | | int PortNumber | Port number to connect to. Keep default ''0'' to use the default port for the protocol. |
| Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'', ''Protocol.Ftp'' and ''Protocol.Webdav'' (&beta_feature). | | Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'', ''Protocol.Ftp'' and ''Protocol.Webdav'' (&beta_feature). |
 +| [[msdn>system.security.securestring|SecureString]] SecurePassword | Encrypted password for authentication. Use instead of ''Password'' to reduce a number of unencrypted copies of the password in memory. &beta_feature |
| string SshHostKeyFingerprint | Fingerprint of SSH server [[ssh_verifying_the_host_key|host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept host key]] with the fingerprint. Mandatory for SFTP/SCP protocol.((You can leave the property ''null'', if you set ''GiveUpSecurityAndAcceptAnySshHostKey''; or if you set ''[[library_session#properties|Session.DefaultConfiguration]]'' to ''false'' and make sure the host key is already accepted in the [[config|configuration]], only (not recommended).)) //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//.  | | string SshHostKeyFingerprint | Fingerprint of SSH server [[ssh_verifying_the_host_key|host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept host key]] with the fingerprint. Mandatory for SFTP/SCP protocol.((You can leave the property ''null'', if you set ''GiveUpSecurityAndAcceptAnySshHostKey''; or if you set ''[[library_session#properties|Session.DefaultConfiguration]]'' to ''false'' and make sure the host key is already accepted in the [[config|configuration]], only (not recommended).)) //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//.  |
| string SshPrivateKeyPath | Full path to private key file. | | string SshPrivateKeyPath | Full path to private key file. |

Last modified: by martin