Xceed FTP Library Documentation
XceedFtp control reference / Events / PasswordRequired event
In This Topic
    PasswordRequired event
    In This Topic

    Description

    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.

    Parameters 

    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)  

    HRESULT PasswordRequired( [in,out] BSTR* sPassword );