IsFTPPassive

 

#include “BlackIceDEVMODE.h”

 

BOOL            IsFTPPassive (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID);

Description

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

Parameters

BlackIceDEVMODE* pDevMode

Pointer to the BlackIceDEVMODE structure.

 

DWORD dwConnectionID

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

 

Return value

TRUE if Passive Mode is used, FALSE otherwise.

Programming Notes

None

Code Example

None