# Upload file
main.bin
on the router to the PC, and save it as
main.bin
.
[ftp] put main.bin main.bin
227 Entering passive mode (192,168,80,200,4,221)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 11673608 byte(s) sent in 7.648 second(s), 1526.00Kbyte(s)/sec
[ftp] quit
221 Service closing control connection
When you back up an application file, if the file name already exists on the server, the system
overwrites the file on the server directly, without any prompt.
For details about the
put
command, refer to
HP SR6600 Routers User Manual
.
You can back up a configuration file in the way you back up an application file.
Table 5-10
Description on the information displayed when you update and back up an
application file on the router
Display information
Description
[ftp] get main.bin main.bin
Download the file used for updating
cfa0:/main.bin has been existing. Overwrite it?
[Y/N]:y
The system prompts whether to overwrite the existing
file.
FTP: 11673608 byte(s) received in 120.735
second(s), 96.00K byte(s)/sec
Download and updating of the application file is
finished.
[ftp] put main.bin main.bin
Upload the file from the router to the PC.
FTP:11673608 byte(s) sent in 7.648 second(s),
1526.00Kbyte(s)/sec
Upload and backup of the application file is finished.
[ftp]quit
Quit FTP client view.
221 Service closing control connection
Close the service control connection.
Router serving as the FTP server and PC serving as the FTP client
1)
Set up an FTP updating environment.