Gets or sets the local TCP port range used for data transfers. Please note that is usually only useful for active mode (see Passive), not in passive mode, where only the port range specified at the server is usually important. In passive mode, only set this property if you know precisely what you are doing, because setting it to a range that is too small or corresponds to the server range might often lead to inability to transfer many files!

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Property DataPortRange As PortRange
	Get
	Set
C#
public PortRange DataPortRange { get; set; }

Field Value

The port range.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also