![Huawei AR2200 Series Configuration Manual Download Page 117](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296117.webp)
l
Source file path and target file path
Procedure
Step 1
Display the file information in the current directory,
flash:/
is the flash memory identifier.
<Huawei>
dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 1,241 Jun 16 2011 09:15:58 rootcert.pem
1 -rw- 2,688 Apr 27 2011 17:06:50 pat1.pat
2 -rw- 396 Mar 21 2011 08:25:25 rsa_host_key.efs
3 -rw- 540 Mar 21 2011 08:25:43 rsa_server_key.efs
4 -rw- 705 Apr 13 2011 11:23:45 iascfg.zip
5 -rw- 88,942 Jul 01 2011 15:18:22 creat_vlanif.bat
6 -rw- 80,783 Jul 01 2011 16:28:32 undovlanif.bat
7 -rw- 56,523 Jun 15 2011 10:43:50 mon_file.txt
2,128 KB total (1,760 KB free)
Step 2
Copy files from
usb0:/sample.txt
to
flash:/sample.txt
<Huawei>
copy usb0:/sample.txt flash:/sample1.txt
Copy usb0:/sample.txt to flash:/sample1.txt?[Y/N]
:y
100% complete
Info:Copied file usb0:/sample.txt to flash:/sample1.txt...Done
Step 3
Display the file information about the current directory, and you can view that the file is copied
to the specified directory.
<Huawei>
dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 1,241 Jun 16 2011 09:15:58 rootcert.pem
1 -rw- 2,688 Apr 27 2011 17:06:50 pat1.pat
2 -rw- 396 Mar 21 2011 08:25:25 rsa_host_key.efs
3 -rw- 540 Mar 21 2011 08:25:43 rsa_server_key.efs
4 -rw- 705 Apr 13 2011 11:23:45 iascfg.zip
5 -rw- 88,942 Jul 01 2011 15:18:22 creat_vlanif.bat
6 -rw- 80,783 Jul 01 2011 16:28:32 undovlanif.bat
7 -rw- 56,523 Jun 15 2011 10:43:50 mon_file.txt
8 -rw- 1,605 Jun 15 2011 10:43:50 sample1.txt
2,128 KB total (1,758 KB free)
----End
6.5.2 Example for Performing File Operations by Means of FTP
This section provides an example for operating files by means of FTP. In this example, a PC
connected to the router logs in to the FTP server by entering the correct user name and password
using FTP, and then downloads files to the memory of the FTP client.
Networking Requirements
As shown in
, after the FTP server is enabled on the router, you can log in to the FTP
server from the HyperTerminal to upload or download files.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
106