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

Description

This read-only property allows you to obtain the port of the server-side data connection.

This property returns zero (0) if a data connection is not active. A data connection is active only during file transfer and folder listing operations.

Data type

Integer

Declaration  

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