Back to product page

ProxyType property


Specifies the type of proxy to use.

Type

A ProxyTypes enumeration. Specifies the type of proxy to use.

Syntax

  • Basic
object.ProxyType[= value]
The ProxyType(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFtpDLX.
valueA ProxyTypes enumeration, as described in settings.

Remarks

Settings

The settings for value are:

Constant Value Description
ProxyNone0 No proxy is used.
ProxySocks4 1 Connection is made through SOCKS4 proxy firewall.
ProxySocks52 Connection is made through SOCKS5 proxy firewall.
ProxyWEBStandard 3 Typical WEB proxy (using web CONNECT command) is used.
ProxyRelay4 Simple relay.
ProxySocks4a 5 Connection is made through SOCKS4a proxy firewall.
ProxyWindows6 Uses settings from the registry (same as Internet Explorer).
ProxyFTPSite 100 Connection is made through FTP transparent proxy server using SITE command.
ProxyFTPOpen101 Connection is made through FTP transparent proxy server using OPEN command.
ProxyFTPUser 102 Connection is made through FTP transparent proxy server using USER joe@server command.
ProxyFTPUserAcct103 Connection is made through FTP transparent proxy server using USER joe@server and ACCT commands.


If the user needs to connect to a remote server through a proxy, this property should be set to a value other than ProxyNone. Depending on the type of remote proxy, the user should specify the correct protocol with this property. The most common proxy type is ProxyFTPUser. Socks 4/4a and Socks 5 are general proxy protocols, universal to any type of protocol. Relay is not a real proxy, but just a 'pipe' or 'redirector' that listens on a predefined port, and when a client connects to it, opens a predefined destination hostname and redirects all traffic between the client and the remote server. A relay proxy is very useful when testing other protocols.

ProxyWindows type is included in version 2.5.1. It uses same values as specified in Internet Explorer, under Tools->Internet Options->Connections->LAN Settings. wodFtpDLX will use anything specified for "Socks", or for "FTP" if socks isn't specified.

ProxyFTPUser, ProxyFTPOpen and ProxyFTPSite are available only for FTP protocol - since they initiate regular FTP connection and expect to connect 'ftp alike' proxy server. Then, instead of sending 'USER joe' command, wodFtpDLX sends similar command 'USER joe@real.ftp.server' so that proxy can relay connection to appropriate destination. In the same way, instead of 'USER joe@real.ftp.server', wodFtpDLX can send 'OPEN real.ftp.server' or 'SITE real.ftp.server', depending on your ProxyType property selection.

Platforms

Windows