Xceed FTP Library Documentation
ServerPort property
XceedFtp control reference > Properties > ServerPort property

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 );