SetFTPProxyType

 

Enables, disables or sets the type of the Proxy Server of the stored FTP connection, identified by iConnectionID.

 

SetFTPProxyType (pDevMode As Long, iConnectionID As Integer, iType As Integer) As Boolean

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

The ID of the selected FTP connection. The ID can be attained by using the GetFTPConnectionByIndex, GetFTPConnectionByName, GetSelectedFTPConnection or the AddFTPConnection methods.

 

Input value iType:

The type of the connection. Can be one of the following values:

0: Proxy Server is not used

1: SOCKS 4 proxy

2: SOCKS 4A proxy

3: SOCKS 5 proxy

4: HTTP proxy

 

Return value:

True on success, otherwise False.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.