edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPConnectionServerPort Property

The port on the server to which to connect the control-channel.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public virtual int ServerPort { get; set; }

Property Value

Int32

Remarks

Most FTP servers use port 21 (the default)

This property may only be set if not currently connected.

See Also