SetFTPPassword

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetFTPPassword (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID, LPCTSTR pStr);

Description

Sets the Password for the FTP server, stored in the 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.

 

LPCTSTR pStr

Pointer to a null terminated string that contains the Password for the FTP server.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None