Differences

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

2014-12-19 2015-02-18
5.6.4 SessionOptions.ParseUrl method in .NET assembly. (martin) releasing 5.7 stable, removing &beta tags (or replacing with &recent) (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'' and ''FtpSecure.Explicit'' (''FtpSecure.ExplicitTls'' in //versions prior to the latest beta version//&beta). |+| FtpSecure FtpSecure | [[ftps|FTPS]] mode. Possible values are ''FtpSecure.None'' (default), ''FtpSecure.Implicit'' and ''FtpSecure.Explicit'' (''FtpSecure.ExplicitTls'' in //older versions//&recent). |
| 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 GiveUpSecurityAndAcceptAnyTlsHostCertificate | Give up security and accept any FTPS/WebDAVS server [[tls#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 ''TlsHostCertificateFingerprint''. | | bool GiveUpSecurityAndAcceptAnyTlsHostCertificate | Give up security and accept any FTPS/WebDAVS server [[tls#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 ''TlsHostCertificateFingerprint''. |
Line 28: Line 28:
| string Password | Password for authentication. | | string Password | Password for authentication. |
| 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''. | 
-| [[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 |+| [[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. |
| 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. |
-| string SshPrivateKeyPassphrase | Passphrase for encrypted private keys. &beta_feature |+| string SshPrivateKeyPassphrase | Passphrase for encrypted private keys. |
| string TlsHostCertificateFingerprint | Fingerprint of FTPS/WebDAVS server [[tls#certificate|TLS/SSL certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). | | string TlsHostCertificateFingerprint | Fingerprint of FTPS/WebDAVS server [[tls#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. |
| int TimeoutInMilliseconds | Alternative to ''Timeout''. Particularly useful for COM hosts that cannot use ''TimeSpan'', such as Visual Basic. | | int TimeoutInMilliseconds | Alternative to ''Timeout''. Particularly useful for COM hosts that cannot use ''TimeSpan'', such as Visual Basic. |
| string UserName | Username for authentication. Mandatory property. | | string UserName | Username for authentication. Mandatory property. |
-| bool WebdavSecure | Use WebDAVS (WebDAV over TLS/SSL), instead of WebDAV. &beta_feature+| bool WebdavSecure | Use WebDAVS (WebDAV over TLS/SSL), instead of WebDAV. | 
-| string WebdavRoot | WebDAV root path. &beta_feature |+| string WebdavRoot | WebDAV root path. |
===== Methods ===== ===== Methods =====

Last modified: by martin