Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SFTP
- Methods
- Properties
- Authentication
- Blocking
- BufferSize
- Compression
- Encryption
- EncryptionList
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- State
- Timeout
- TransferMode
- TransferRate
- TransferTime
- Version
- Events
- How to get support?
ProxyHostname property
Specifies the hostname of proxy to use.
Type
String.Syntax
- C#
- VB.NET
String ProxyHostname {get; set; };
Property ProxyHostname As String
Remarks
When the wodSFTP.NET client is unable to establish a direct connection (not connected directly to the internet, for example), the proxy option can be used. There are several types of proxies supported by the wodSFTP.NET component. When any proxy is used, this property specifies the hostname for the remote proxy. Be careful, though. This property is not same as the Hostname property.When a connection to a proxy is established, wodSFTP.NET will issue a request to the proxy to open a remote connection to the hostname specified by the ProxyHostname property.
For example,
wodSFTP1.ProxyType = ProxyTypes.ProxyWEBStandard;
wodSFTP1.ProxyHostname = "proxy.server.com";
wodSFTP1.ProxyPort = 80;
wodSFTP1.Connect ("linux.weonlydo.com"...)
would connect to WeOnlyDo's test SFTP server, but through the proxy 'proxy.server.com'.