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

    Description

    This property allows you to specify the port number of the FTP server to connect to.

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

    Data type

    Integer

    Default value

    21

    Declaration  

    HRESULT ServerPort( [out, retval] short* pnVal );

    HRESULT ServerPort( [in] short nVal );