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

Description

This property allows you to specify the address of the client-side data connection. When the PassiveMode property is set to False, this property is the address of the client-side listening socket waiting for the server’s data connection request.

If the address specified in this property is not an available local address on the current system, the Xceed FTP Library will return the FTP_E_INVALIDLOCALADDRESS error.

When a data connection is active (when sending, receiving or listing files) this property is read-only.

Data type

String

Default value

Empty

Declaration  

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

HRESULT LocalDataAddress( [in] BSTR bstrVal );