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

    Description

    This property allows you to set the account name to use when an account is required. An account name is required by some servers in order to obtain supplementary login or session information. It is part of RFC 959 (the FTP protocol specification) but is generally not required.

    FTP servers can request an account name only during login or when the XceedFtp control attempts to send or rename a file.

    If this property is left empty, and the FTP server requests an account name, the AccountRequired event will be triggered to allow your application to provide an account name.

    Data type

    String

    Default value

    Empty

    Declaration  

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

    HRESULT AccountName( [in] BSTR bstrVal );