IsFTPPassive

 

Returns TRUE if Passive Mode is used for the FTP connection identified by iConnectionID. Passive Mode is only supported for FTP and FTPS connections, not for SFTP connections. The GetFTPSecurityMode method can be used to get the type of the connection.

 

IsFTPPassive(pDevMode As Long, iConnectionID As Integer) As Boolean

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

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

 

Return value:

True if Passive Mode is used, False otherwise.

 

 

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