ComponentPro UltimateFtp

      DataPortRange Property

      See AlsoMembers Options: Show AllLanguage Filter: AllSend comments on this topic to ComponentPro
      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!

      Syntax

      public PortRange DataPortRange { get; set; }

      Value

      The port range.

      Remarks

      To set FTP port when connecting, please use the Connect method.

      Framework

      .NET Compact Framework.NET Compact Framework

      Supported version: 2.0, 3.5, and 3.9
      Assembly: ComponentPro.Ftp.CF (in ComponentPro.Ftp.CF.dll)

      .NET Framework.NET Framework

      Supported version: 2.0, 3.0, 3.5, 4.0, 4.5.x, 4.6.x and later
      Assembly: ComponentPro.Ftp (in ComponentPro.Ftp.dll)

      Xamarin AndroidXamarin Android

      Supported version: 2.3 and later
      Assembly: ComponentPro.Ftp.Android (in ComponentPro.Ftp.Android.dll)

      Xamarin MacXamarin Mac

      Supported version: 2.0.x and later
      Assembly: ComponentPro.Ftp.Mac (in ComponentPro.Ftp.Mac.dll)

      Xamarin iOSXamarin iOS

      Supported version: 5.1.x and later
      Assembly: ComponentPro.Ftp.iOS (in ComponentPro.Ftp.iOS.dll)

      See Also