FTP FTP FP

Description:

   File Transfer Protocol (FTP). Used to manually issue FTP commands
   and retrieve FTP status.

Form:

  Command Handler: SYSD
  FTP ip_address get remote_filename [local_filename] [username password]
  FTP ip_address put local_file [remote_file] [username password]
  FTP STATUS

Response:

    "OK\r\n" to acknowledge receipt of command, or
    "ERROR- [Description]\r\n" if error, ending command
    "\r\n" concludes modify responses (empty line)

Examples:

  Command to put a file without renaming:
  *.SYSD FTP 192.168.0.47 put list.mvl<enter>
     Response is: OK\r\n
                 \r\n
  Command to put list.mvl and rename to new_list.mvl:
  *.SYSD FTP 192.168.0.47 put list.mvl new_list.mvl<enter>
     Response is: OK\r\n
                 \r\n
  Command to get a file without renaming:
  *.SYSD FTP 192.168.0.47 get list.mvl<enter>
     Response is: OK\r\n
                 \r\n
  Command to get list.mvl and rename as new_list.mvl:
  *.SYSD FTP 192.168.0.47 get list.mvl new_list.mvl<enter>
     Response is: OK\r\n
                 \r\n

 *.SYSD FTP STATUS
     Response is: OK\r\n
      +------+---------+-------+------+-------------------------------------------+\r\n
      | PID  |  Login  |For/Spd| What |     File/Remote IP/Size(Kb)/Local IP      |\r\n
      +------+---------+-------+------+-------------------------------------------+\r\n
      | 1163 | adtec   | 00:02 |  DL  | /hd0/media/avi_0001.avi                   |\r\n
      |  ''  |    ''   |   6M/s|  53% | ->                          192.168.32.90 |\r\n
      |  ''  |    ''   |       |      | Total size:   702610 Transfered:   370048 |\r\n
      |  ''  |    ''   |       |      | <-                    192.168.32.91:21    |\r\n
      +------+---------+-------+------+-------------------------------------------+\r\n
      \r\n

 *.SYSD FP STATUS
     Response is: 0\r\n
      1163|adtec|110| DL |/hd0/media/avi_0001.avi|192.168.32.90|192.168.32.91|21|189440|702610|27|7016\r\n
                      \r\n
 

Notes:

  This operation uses the username and password from CLTUSERPASSWORD setting
  if not supplied.

  FTP STATUS command only reports client transfers to or from the device, not
  FTP <ip> GET/PUT transfers at this time.
  FTP STATUS output is experimental is subject to change.
  FP STATUS terse format is :
     pid|acct|time|state|file|peer|local|port|current|total|%|bandwidth
  Only one outstanding FTP put/get command is allowed to run at a time.  If a
  subsequent FTP piut/get command is issue while previous is still running, the
  command will return verbose "Already FTPing" or terse "25".

Created By: Adtec Digital