When the wodSFTP client is unable to establish a direct
connection (when it is not connected directly to the internet, for
example), the proxy option can be used. There are several
types of proxies supported by the wodSFTP control. When any
proxy is used, this function specifies the hostname for the
remote proxy. Be careful though, this function is not the same
as the Hostname
function.
When a connection to the proxy specified in ProxyHostName is established, wodSFTP
will issue a request to the proxy to open a remote
connection to the hostname specified by the Hostname
function.
The Bufsize variable should contain the maximum allowed size
that can be stored in the Buffer variable. If you set Bufsize =
0, then the function will return with error
ERROR_INSUFFICIENT_BUFFER and Bufsize will contain the requried
buffer size.