Xceed FTP Library Documentation
AccountRequired event
XceedFtp control reference > Events > AccountRequired event

Description

This event is triggered whenever the FTP server requests an account name, and only if the AccountName property is empty.

Your handler for this event can specify an account name via the sAccountName parameter. The value specified in this parameter will then be sent to the FTP server and the AccountName property will be automatically updated with the newly specified account name.

This event can be triggered during connection/login, when sending a file or when renaming a file.

Parameters
 

Parameter Description
sAccountName  Use this parameter to provide the account name to sent to the FTP server

 

Declaration (event)  
void AccountRequired( [in,out] BSTR* sAccountName );
Declaration (interface implementation)  

HRESULT AccountRequired( [in,out] BSTR* sAccountName );