R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

198
Terminating an FTP connection
Ste
p
Command
Remarks
Terminate the connection to the FTP server
without exiting FTP client view.
disconnect
close
Use either command in FTP client
view.
Terminate the connection to the FTP server and
return to user view.
bye
quit
Use either command in FTP client
view.
FTP client configuration example
Network requirements
As shown in Figure 109, use the Firewall as an FTP client and PC as the FTP server. Their IP
addresses are 10.2.1.1/16 and 10.1.1.1/16 respectively. The Firewall and PC are reachable to each
other.
The Firewall downloads a boot file from PC for device upgrade, and uploads the configuration file
to PC for backup.
On PC, an FTP user account has been created for the FTP client, with the username abc and the
password abc.
Figure 109 Network diagram
Configuration procedure
# Examine the storage medium of the device for insufficiency. If no sufficient free space is available, use
the delete/unreserved file-url command to delete unused files. (Details not shown.)
# Log in to the server through FTP.
<Sysname> ftp 10.1.1.1
Trying 10.1.1.1
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 to transmit boot file.
[ftp] binary
200 Type set to I.
# Download the boot file newest.bin from PC to the Firewall.
[ftp] get newest.bin
# Upload the configuration file config.cfg of the Firewall to the server for backup.