wodFtpDLX ActiveX Control - ProxyHostname Property
      
 

Description

Specifies the hostname of proxy to use.


Property type

A String value.  Specifies hostname of the proxy to use when connecting to a server.


Syntax

object.ProxyHostname [= value]



The ProxyHostname Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodFtpDLX.
value A String value.

Remarks

When the wodFtpDLX 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 wodFtpDLX control. 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, wodFtpDLX will issue a request to the proxy to open a remote connection to the hostname specified by the ProxyHostname property.

For example,

wodFtpDLX1.ProxyType = ProxyFTPUser
wodFtpDLX1.ProxyHostname = "proxy.server.com"
wodFtpDLX1.ProxyPort = 21
wodFtpDLX1.Connect "ftp.weonlydo.com"

would connect to WeOnlyDo's FTP server, but through the proxy 'proxy.server.com'.