Xceed FTP Library Documentation
XceedFtp control reference / Properties / Password property
In This Topic
    Password property
    In This Topic

    Description

    This property allows you to specify the password to use to log in to the FTP server if the user being logged in requires a password.

    Passwords are case-sensitive.

    For anonymous logins, the password is generally 'guest' or you can volunteer an email address as password.

    If this property is set to an empty string, and the FTP server requests a password, the PasswordRequired event will be triggered to allow your application to provide a password.

    When the CurrentState property's value is anything other than fstNotConnected, this property is read-only.

    Data type

    String

    Default value

    "Guest"

    Declaration  

    HRESULT Password( [out, retval] BSTR* pbstrVal );

    HRESULT Password( [in] BSTR bstrVal );