ProxyType Property  
 

Gets and sets the current proxy server type.

Syntax

object.ProxyType [= proxytype ]

Remarks

FTP and HTTP proxy servers have different characteristics, as described in the following table:

Value Constant Description
0 fileProxyNone No proxy server is being used. This is the default value.
1 fileProxyUser 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 fileProxyLogin 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 fileProxyOpen 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 fileProxySite The client is logged into the server. The SITE command is sent, specifying the host name, followed by the username and the password.
255 fileProxyOther 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 method to send specific command sequences.
1 fileProxyCern The client is connected to a proxy server; the resource path is sent as a complete URL. This proxy type is only valid for HTTP servers.
2 fileProxyTunnel The client is connecting through a non-SSL CERN proxy server to a secure web server and the resource is specified as a complete URL. The Secure property should be set to true when using this proxy type.
3 fileProxyWindows The client should use the default proxy configuration specified for the system.

There are duplicated values for ProxyType because this property value is interpreted according to the protocol that is being used.

Data Type

Integer (Int32)

See Also

Password Property, ProxyPassword Property, ProxyPort Property, ProxyServer Property, ProxyUser Property, ServerName Property, UserName Property, Connect Method