This event is triggered during the login process, and only if the Password property is empty.
Your handler for this event can specify a password via the sPassword parameter. The value specified in this parameter will then be sent to the FTP server and the Password property will be automatically updated with the newly specified password.
Parameter | Description |
---|---|
sPassword | Use this parameter to provide a password to send to the FTP server |
Declaration (event) | |
---|---|
void PasswordRequired( [in,out] BSTR* sPassword ); |
Declaration (interface implementation) | |
---|---|
|