FTP FTP FPDescription: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
The terse results of status space delimited as:
"id of the transfer" "host ipaddress" "local file" "remote file"
"percent complete" "rate" "total transferred" "ETA" "status"
status of 0 is currently transferring, 1 is completed.
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
Notes:This operation uses the username and password from CLTUSERPASSWORD setting of not supplied. Products Supporting Command:Created By: Adtec Digital Inc |