edtFTPnet/Free - Open-source FTP component for .NET | Download
The port on the server to which to connect the control-channel.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public int ControlPort { get; set; }
Visual Basic
Public Property ControlPort As Integer
	Get
	Set
Visual C++
public:
virtual property int ControlPort {
	int get () sealed;
	void set (int value) sealed;
}

Implements

IFileTransferClient..::..ControlPort

Remarks

Most FTP servers use port 21 (the default)

This property may only be set if not currently connected.

See Also