F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100

214
Task Command
Remarks
Terminate the FTP connection without exiting FTP
client view.
disconnect
close
Use either command in FTP
client view.
Terminate the FTP connection and return to user
view.
bye
quit
Use either command in FTP
client view.
324BFTP client configuration example
482BNetwork requirements
As shown in 926HFigure 102, the firewall acts as the FTP client and the PC acts as the FTP server. The firewall
and the PC can reach each other. An account with the username abc and password abc is already
configured on the FTP server.
Log in to the FTP server from the FTP client, download the system software image file newest.bin from the
PC to the firewall, and upload the configuration file config.cfg from the firewall to the PC for backup.
Figure 102 Network diagram
483BConfiguration procedure
# Examine the storage space of the firewall for insufficiency or impairment. If no sufficient free space is
available, use the fixdisk command to fix the storage medium or use the delete/unreserved file-url
command to delete unused files. (Details not shown.)
# Log in to the server at 10.1.1.1 using the username abc and password abc.
<Firewall> ftp 10.1.1.1
Trying 10.1.1.1
Press CTRL+K to abort
Connected to 10.1.1.1
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.1.1.1:(none)):abc
331 Give me your password, please
Password:
230 Logged in successfully
# Set the file transfer mode to binary.
[ftp] binary
200 Type set to I.
# Download the system software image file newest.bin from the PC to the firewall.
[ftp] get newest.bin
227 Entering Passive Mode (10,1,1,1,10,68).
125 BINARY mode data connection already open, transfer starting for /newest.bin.
226 Transfer complete.
FTP: 23951480 byte(s) received in 95.399 second(s), 251.00K byte(s)/sec.