Differences

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

2013-06-01 2013-07-30
session setting => site setting (martin) favor tls (martin)
Line 22: Line 22:
^ Name ^ Description ^ ^ Name ^ Description ^
| FtpMode FtpMode | FTP mode. Possible values are ''FtpMode.Passive'' (default) and ''FtpMode.Active''. | | FtpMode FtpMode | FTP mode. Possible values are ''FtpMode.Passive'' (default) and ''FtpMode.Active''. |
-| FtpSecure FtpSecure | [[ftps|FTPS]] mode. Possible values are ''FtpSecure.None'' (default), ''FtpSecure.Implicit'', ''FtpSecure.ExplicitSsl'' and ''FtpSecure.ExplicitTls''. |+| FtpSecure FtpSecure | [[ftps|FTPS]] mode. Possible values are ''FtpSecure.None'' (default), ''FtpSecure.Implicit'', ''FtpSecure.ExplicitTls'' and ''FtpSecure.ExplicitSsl''. |
| bool GiveUpSecurityAndAcceptAnySshHostKey | Give up security and accept any [[ssh#verifying_the_host_key|SSH host key]]. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use ''SshHostKeyFingerprint''. | | bool GiveUpSecurityAndAcceptAnySshHostKey | Give up security and accept any [[ssh#verifying_the_host_key|SSH host key]]. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use ''SshHostKeyFingerprint''. |
-| bool GiveUpSecurityAndAcceptAnySslHostCertificate | Give up security and accept any FTPS server [[ftps#certificate|SSL/TLS certificate]]. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use ''SslHostCertificateFingerprint''. |+| bool GiveUpSecurityAndAcceptAnySslHostCertificate | Give up security and accept any FTPS server [[ftps#certificate|TLS/SSL certificate]]. To be used in exceptional situations only, when security is not required. When set, log files will include warning about insecure connection. To maintain security, use ''SslHostCertificateFingerprint''. |
| 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. |
Line 31: Line 31:
| 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 hostkey]] 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 hostkey]] 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. The key has to be passphrase-less or [[ui_pageant|Pageant]] has to be running with the key loaded (''SshPrivateKeyPath'' then serves only to select, what private key Pageant should use, in case more keys are loaded). | | string SshPrivateKeyPath | Full path to private key file. The key has to be passphrase-less or [[ui_pageant|Pageant]] has to be running with the key loaded (''SshPrivateKeyPath'' then serves only to select, what private key Pageant should use, in case more keys are loaded). |
-| string SslHostCertificateFingerprint | Fingerprint of FTPS server [[ftps#certificate|SSL/TLS certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). |+| string SslHostCertificateFingerprint | Fingerprint of FTPS server [[ftps#certificate|TLS/SSL certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). |
| TimeSpan Timeout | Server response timeout. Defaults to 15 seconds. | | TimeSpan Timeout | Server response timeout. Defaults to 15 seconds. |
| string UserName | Username for authentication. Mandatory property. | | string UserName | Username for authentication. Mandatory property. |

Last modified: by martin