ProxyType Property

image\validfor_v.gif

Applies To Objects

FTPOptions

TelnetSetup

Description

Returns or sets the type of proxy to use.

Syntax

object.ProxyType

Element

Description

object

The FTPOptions or TelnetSetup object.

Comments

The following values indicate the proxy types. To set the property, use either a constant or a value.

Constant

Value

Description

xPROXYTYPE_NONE

0

Using a direct connection to the internet.

xPROXYTYPE_FTP

1

Using an FTP proxy. If you select this option, also set PassiveMode property TRUE.

xPROXYTYPE_TELNET

1

Using a Telnet proxy.

xPROXYTYPE_SOCKS

2

Using a SOCKS proxy. A SOCKS proxy can be used for both FTP and Telnet sessions.