edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
The port on the server to which to connect the control-channel.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

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

Remarks

Most FTP servers use port 21 (the default)

This property may only be set if not currently connected.

See Also