Differences
This shows you the differences between the selected revisions of the page.
2016-01-18 | 2016-01-18 | ||
client certificates are beta (martin) | property anchors (martin) | ||
Line 23: | Line 23: | ||
===== Properties ===== | ===== Properties ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | FtpMode FtpMode | [[ftp_modes|FTP mode]]. Possible values are ''FtpMode.Passive'' (default) and ''FtpMode.Active''. | | + | | FtpMode ==FtpMode== | [[ftp_modes|FTP mode]]. Possible values are ''FtpMode.Passive'' (default) and ''FtpMode.Active''. | |
- | | FtpSecure FtpSecure | [[ftps#methods|FTPS mode]]. Possible values are ''FtpSecure.None'' (default), ''FtpSecure.Implicit'' and ''FtpSecure.Explicit''. | | + | | FtpSecure ==FtpSecure== | [[ftps#methods|FTPS mode]]. Possible values are ''FtpSecure.None'' (default), ''FtpSecure.Implicit'' and ''FtpSecure.Explicit''. | |
- | | 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''. | |
- | | 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. | |
- | | 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. | |
- | | string PrivateKeyPassphrase | Passphrase for encrypted private keys and client certificates, //in the latest beta version//. Use ''SshPrivateKeyPassphrase'' instead, //in the latest stable version//. &beta | | + | | string ==PrivateKeyPassphrase== | Passphrase for encrypted private keys and client certificates, //in the latest beta version//. Use ''SshPrivateKeyPassphrase'' instead, //in the latest stable version//. &beta | |
- | | Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'', ''Protocol.Ftp'' and ''Protocol.Webdav''. | | + | | 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. | | + | | [[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''.)) //Learn how to [[faq_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''.)) //Learn how to [[faq_hostkey|obtain host key fingerprint]]//. | |
- | | string SshPrivateKeyPath | Full path to SSH [[public_key#private|private key file]]. | | + | | string ==SshPrivateKeyPath== | Full path to SSH [[public_key#private|private key file]]. | |
- | | string TlsClientCertificatePath | Full path to [[tls#client_certificate|TLS/SSL client certificate]]. &beta_feature | | + | | string ==TlsClientCertificatePath== | Full path to [[tls#client_certificate|TLS/SSL client certificate]]. &beta_feature | |
- | | 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. | | + | | bool ==WebdavSecure== | Use WebDAVS (WebDAV over TLS/SSL), instead of WebDAV. | |
- | | string WebdavRoot | WebDAV root path. | | + | | string ==WebdavRoot== | WebDAV root path. | |
===== Methods ===== | ===== Methods ===== |