SetFTPLogging

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetFTPLogging (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID, BOOL bEnable);

Description

Enables or disables Logging for the FTP connection identified by dwConnectionID. The log file name can be set using the SetFTPLogFile function.

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.

 

BOOL bEnable

Set to TRUE to enable Logging, or FALSE to disable it.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None