edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionActivePortRange Property

Specifies the range of ports to be used for data-channels in active mode.

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public virtual PortRange ActivePortRange { get; }

Property Value

Type: PortRange
Remarks

By default, the operating system selects the ports to be used for active-mode data-channels. When ActivePortRange is defined, a port within this range will be selected.

This settings is not used in passive mode.

This can be particularly useful in scenarios where it is necessary to configure a NAT router to statically route a certain range of ports to the machine on which the FTP client is running.

See Also