HP VPN Firewall Appliances System Management and Maintenance Configuration Guide
220
FTP client configuration example
Network requirements
As shown in Figure 107, 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 107 Network diagram
Configuration 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.
<Sysname> 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.
# Set the file transfer mode to ASCII, and upload the configuration file config.cfg from the firewall to the
PC for backup.
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.