Command list
The FTP protocol commands supported on the unit comprise
standard commands (below) and extended commands
(page 46).
Notes
• To execute an FTP command, the application software
must be installed on the computer.
• The supported commands may vary depending on the
application software.
• Only ASCII characters can be used in file names.
Standard commands
In the command syntax, <SP> represents a space character,
and <CRLF> represents a carriage-return/line-feed entered
using the Enter key.
USER
Authenticates a user name.
Syntax: USER <SP> <user_name> <CRLF>
Example: USER usr1
PASS
Authenticates a password.
Syntax: PASS <SP> <password> <CRLF>
Example: PASS bpu4800
QUIT
Terminates the FTP connection. If executed during a file
transfer, the connection closes after the file transfer ends.
Syntax: QUIT <CRLF>
PORT
Notifies the unit of the IP address and port number of the
computer to use for data connection (for initiating data
connection from the unit).
Syntax: PORT <SP> <h1,h2,h3,h4,p1,p2> <CRLF>
• h1 (byte 1) to h4 (byte 4): IP address
• p1 (byte 1) and p2 (byte 2): Port number
Example: PORT 10,0,0,1,242,48
(IP address: 10.0.0.1, Port number: 62000)
PASV
Requests that the unit listen to a port other than the default
data connection port (sets the unit to Passive mode for
initiating a data connection from the computer).
Syntax: PASV <CRLF>
TYPE
Specifies the data type.
Syntax: TYPE <SP> <type_code (<SP>-delimited
options)> <CRLF>
The following type codes exist. However, this unit transmits
code “I” regardless of the specified code.
• A: ASCII
- N: Non-print
- T: Telnet format
- C: ASA carriage control