67
Trying 192.168.1.46 ...
Press CTRL+K to abort
Connected to 192.168.1.46.
220 FTP service ready.
User(192.168.1.46:(none)):ftp
331 Password required for ftp.
Password:
230 User logged in.
[ftp]undo passive
FTP: passive is off
[ftp] debugging
FTP: debugging switch is on
[ftp] get sample.file
---> PORT 192,168,1,44,4,21
200 Port command okay.
The parsed reply is 200
---> RETR sample.file
150 Opening ASCII mode data connection for /sample.file.
The parsed reply is 150
FTPC: File transfer started with the signal light turned on.
FTPC: File transfer completed with the signal light turned off.
.226 Transfer complete.
FTP: 3304 byte(s) received in 4.889 second(s), 675.00 byte(s)/sec.
[ftp]
Table 11
Command output
Field Description
---> PORT 192,168,1,44,4,21
FTP command. 192,168,1,44 specifies the
destination IP address, and 4,21 is used to calculate
the data port number by using the formula
4*256+21.
The parsed reply is
Received reply code, defined in RFC 959.
---> RETR
Download the file.
FTPC: File transfer started with the signal light turned
on.
File transfer starts, and the signal light is turned on.
FTPC: File transfer completed with the signal light
turned off.
File transfer is completed, and the signal light is turned
off.
delete
Use
delete
to permanently delete a specified file on the remote FTP server.