5-22
Download and back up files using the
get
and
put
commands.
[ftp]get main.bin main.bin
//
Download the file from the server to the access controller.
cfa0:/main.bin has been existing. Overwrite it?[Y/N]:y
//
Overwrite the existing file or not?
227 Entering passive mode (192,168,0,1,5,60)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10323352 byte(s) received in 13.234 second(s), 780.00K byte(s)/sec.
[ftp]put main.bin main.bin
//
Back up the file on the access controller to the server.
227 Entering passive mode (192,168,0,1,5,90)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10323352 byte(s) sent in 7.342 second(s), 1406.00Kbyte(s)/sec.
[ftp]quit
//
Quit FTP.
221 Service closing control connection
Maintaining Application and Configuration Files
You can modify and display file types by using the file control submenu or the CLI.
Enter
4
on the BootWare main menu to enter the file control submenu. The system displays the
following:
=================================<File CONTROL>=================================
|Note:the operating device is cfa0 |
|<1> Display All File(s) |
|<2> Set Application File type |
|<3> Delete File |
|<0> Exit To Main Menu |
================================================================================
Enter your choice(0-3):
Displaying All Files
Displaying all files on BootWare menu
Enter
1
on the file control submenu, and the system displays the following information:
Display all file(s) in cfa0:
'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED
==========================================================================
|NO. Size(B) Time Type Name |
|1 10323352 Aug/20/2008 10:42:42 M cfa0:/main.bin |
|2 33 Aug/20/2008 10:06:24 N/A cfa0:/system.xml |
|3 842 Aug/20/2008 10:23:56 N/A cfa0:/startup.cfg |
|4 76960 Aug/15/2008 15:58:02 N/A cfa0:/vmetest.vme |
==========================================================================
Displaying all files on the CLI
<H3C>dir
Directory of cfa0:/