FTPDATAPORT FDP FD

Description:

  This command is used to show or set the data port range that FTP server uses
  for data connections with passive clients. Valid port ranges are 1025 to 65535.

Form:

  Command Handler: SYSD
  FTPDATAPORT|FDP|FD [port] [port]
  Arguments:  Range of ports to use.

Examples:

  Show the configured data ports:
  Verbose:
  *.SYSD FTPDATAPORT<enter>
  Response is:
      OK\r\n
      FtpDataPort= 10000, 15000\r\n
      \r\n

  Terse:
  *.SYSD FD<enter>
  Response is:
      0\r\n
      10000 15000\r\n
      \r\n

  Set the data ports:
  Verbose:
  *.SYSD FTPDATAPORT 10000 15000<enter>
     Response is:
         OK\r\n
         \r\n

  Terse:
  *.SYSD FD 10000 15000<enter>
     Response is:
        0\r\n
        \r\n

 

Notes:

  This is helpful when connecting to the unit when it is behind a NAT/Firewall.
  When an FTP client requests a port in passive mode, the unit will return a
  port within this set range. The NAT/Firewall that is between the unit and an
  open network will need to forward the same range of ports to the unit's
  private IP address.
Created By: Adtec Digital