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

    Description

    Use this property to specify the address of the FTP server to connect to.

    The address you specify can either be an IP address in dot-notation (for example: "192.168.0.50") or it can be a host name (for example: "ftp.xceedsoft.com"). When specifying a host name, the library will perform DNS name resolution in order to resolve it to an IP address.

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

    Data type

    String

    Default value

    Empty

    Declaration  

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

    HRESULT ServerAddress( [in] BSTR bstrVal );