ProxyType Property  
 

Gets and sets the current proxy server type.

Syntax

object.ProxyType [= proxytype ]

Remarks

The ProxyType property specifies the type of proxy server that the client is connecting to. The supported proxy server types are as follows:

Value Constant Description
0 ftpProxyTypeNone No proxy server is being used. This is the default value.
1 ftpProxyTypeUser The client is not logged into the proxy server. The USER command is sent in the format username@ftpsite followed by the password. This is the format used with the Gauntlet proxy server.
2 ftpProxyTypeLogin The client is logged into the proxy server. The USER command is then sent in the format username@ftpsite followed by the password. This is the format used by the InterLock proxy server.
3 ftpProxyTypeOpen The client is not logged into the proxy server. The OPEN command is sent specifying the host name, followed by the username and password.
4 ftpProxyTypeSite The client is logged into the server. The SITE command is sent, specifying the host name, followed by the username and the password.
255 ftpProxyTypeOther This special proxy type specifies that another, undefined proxy server is being used. The client connects to the proxy host, but does not attempt to authenticate the client. The application is responsible for negotiating with the proxy server, typically using the Command property to send specific command sequences.

Data Type

Integer (Int32)

See Also

HostAddress Property, Password Property, ProxyHost Property, ProxyPassword Property, ProxyPort Property, ProxyUser Property, UserName Property, Connect Method