SetFTPProxyAuthentication

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetFTPProxyAuthentication (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID, int iType);

Description

Sets the Authentication Method of the Proxy Server of the stored FTP connection, identified by dwConnectionID.

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.

 

int iType

The new value of the property. The value can be one of the values from the FTPProxyAuthentication enum:

enum FTPProxyAuthentication
{
            FTP_PROXY_AUTH_BASIC = 0, // 0 – Basic authentication method
            FTP_PROXY_AUTH_NTLM          // 1 – NTLM authentication method
};

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None