:GetProxyType()


Class

     aprFTP()

 

Syntax

     :GetProxyType( [hSession] ) -> nProxyType

 

Parameters

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Numeric indicating the Proxy Type.

If an error occurs, the return value is FTP_ERROR.

 

To get further error information see :nErr and :cErr

 

Description

The :GetProxyType() method returns the type of proxy that the client is connected to.

By default, no proxy server is specified and this function returns a value of FTP_PROXY_NONE.

For a list of possible proxy server types, refer to the :ProxyConnect() method.

 

See Also

:Connect(), :ProxyConnect()