FTPCLIENTCREDENTIALS Structure  
 

The FTPCLIENTCREDENTIALS structure defines the credentials used to authenticate a specific user.

typedef struct _FTPCLIENTCREDENTIALS
{
    DWORD dwSize;
    DWORD dwFlags;
    TCHAR szHostName[FTP_MAXHOSTNAME];
    TCHAR szUserName[FTP_MAXUSERNAME];
    TCHAR szPassword[FTP_MAXPASSWORD];
} FTPCLIENTCREDENTIALS, *LPFTPCLIENTCREDENTIALS;

Members

dwSize
An unsigned integer value that specifies the size of the structure.
dwFlags
An unsigned integer value reserved for future use. This member will always be initialized to a value of zero.
szHostName
A pointer to a string that specifies the server host name.
szUserName
A pointer to a string that specifies the user name.
szPassword
A pointer to a string that specifies the user password.

Remarks

When an instance of this structure is passed to the GetClientCredentials method, this member must be initialized to the size of the structure and all other members must be initialized with a value of zero.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Unicode: Implemented as Unicode and ANSI versions.

See Also

GetClientCredentials