Ftp client configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecBlade LB Cards User Manual
Page 99
90
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.
FTP client configuration example
Network requirements
As shown in
, LB acts as the FTP client and the PC acts as the FTP server. LB 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 LB, and upload the configuration file config.cfg from LB to the PC for backup.
Figure 33 Network diagram
Configuration procedure
# Examine the storage space of LB 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.
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 LB.
[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.