Differences

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

2014-07-14 2014-07-28
5.6 Bug 816 Passphrase can be provided on command line/in scripting and .NET assembly. (martin) 5.6 bug 160 webdav (martin)
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'' and ''Protocol.Ftp''. |+| Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'', ''Protocol.Ftp'' and ''Protocol.Webdav (&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. |
Line 36: Line 36:
| 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 |
===== Methods ===== ===== Methods =====

Last modified: by martin