66
FTP File Operations
A
ppen
dix
Refer to the Windows help for more information about
the FTP command.
If the connection succeeds, you are prompted to enter
a user name.
3
Enter the user name “usr1” and press the Enter key.
When the user name is verified, you are prompted to
enter a password.
4
Enter the password and press the Enter key.
The password is set to the model name (“sr-r1000”).
The login is complete when the password is verified.
User names and passwords cannot be changed.
If the connection times out
This unit terminates FTP connections if no command
is received within 90 seconds of the last command. If
this occurs, log out
(see the next section)
and repeat
steps
1
to
3
.
If you power this unit off during an FTP connection,
the data transferred thus far may be discarded.
To log out
To log out after finishing file operations, enter “QUIT” at
the command prompt and press the Enter key.
Command List
The FTP protocol commands supported by this unit
include standard commands
(see the next section)
and
extended commands
• To execute FTP commands, you must install application
software on your computer.
• The commands supported by application software vary.
• Only ASCII characters can be used in file names.
Standard commands
In the command syntax, <SP> means a space, entered by
pressing the space bar, and <CRLF> means a new line,
entered by pressing the Enter key.
USER
Verifies the user name.
Command syntax: USER <SP> <user name> <CRLF>
Input example:
USER usr1
PASS
Verifies the password.
Command syntax: PASS <SP> <password> <CRLF>
Input example:
PASS sr-r1000
QUIT
Terminates the FTP connection. If a file is being
transferred, terminates after completion of the transfer.
Command syntax: QUIT <CRLF>
PORT
Specifies the IP address and port to which this unit should
connect for the next file transfer (for data transfer from this
unit).
Command syntax: PORT <SP> <h1,h2,h3,h4,p1,p2>
<CRLF>
• h1 (most significant byte) to h4 (least significant byte): IP
address
• p1 (most significant byte), p2 (least significant byte): Port
number
Input example:
PORT 10,0,0,1,242,48
(IP address: 10.0.0.1, Port number: 62000)
PASV
This command requests this unit to “listen” on a data port
(which is not its default data port). (It puts this unit into
passive mode, waiting for the remote computer to make a
data connection.)
Command syntax: PASV <CRLF>
TYPE
Specifies the type of data to be transferred.
Command syntax: TYPE <SP> <type-code (options
delimited by <SP>)> <CRLF>
<type-code> can be any of the following. However, for the
unit, data is always transferred as “I”, regardless of the
type-code specification.
• A: ASCII
- N: Non-print
- T: Telnet format
- C: ASA Carriage Control
• E: EBCDIC
- N: Non-print
- T: Telnet format
- C: ASA Carriage Control
• I: IMAGE (Binary) (default)
• L: LOCAL BYTE
- SIZE: byte size
Input example:
TYPE I
STRU
Specifies the data structure.
Note
Notes