Step 3 Display the file information about the current directory to check that the file has been copied to
the specified directory.
<Huawei> dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 47,584,256 Sep 17 2107 14:54:23 ar1201_23316_1220.cc
1 -rw- 4 Jun 30 2010 01:01:16 voip_feature.efs
2 -rw- 4 Jul 27 2005 11:02:05 voip_protocol.efs
3 -rw- 45,794,304 Sep 03 2107 12:38:38 ar1117_20921_1220.cc
4 -rw- 1,751,678 Jan 26 2008 16:24:13 web.zip
5 -rw- 3,856 Jan 28 2008 00:00:09 iascfg.zip
6 -rw- 396 Jan 11 2008 18:09:53 rsa_host_key.efs
7 -rw- 6 Dec 01 2007 15:35:31 1.txt
8 -rw- 3,315 Dec 07 2007 12:54:45 ma5600_license.dat
9 -rw- 6,656 Dec 07 2007 12:55:14 patch_lic.pat
10 -rw- 7,533 Dec 07 2007 12:55:50 pdt_keyfile.txt
11 -rw- 6,656 Dec 07 2007 13:13:39 patch_lic2.pat
12 -rw- 526,003 Jan 27 2008 00:00:36 private-data.txt
13 -rw- 540 Jan 11 2008 18:10:07 rsa_server_key.efs
14 -rw- 16 Jan 12 2008 14:53:53 dulei.tbl
15 -rw- 0 Dec 27 2007 15:27:49 dictionary.xml
16 -rw- 2,016,467 Dec 28 2007 17:58:26 arweb.zip
17 -rw- 477 Jan 10 2008 14:46:12 elabel.fls
18 -rw- 2,810 Jan 15 2008 13:57:02 aa.txt
19 -rw- 68,750,848 Jan 26 2008 15:40:15 ar0312_34479_1220.cc
20 -rw- 0 Jan 28 2008 14:47:29 ar.txt
21 -rw- 1,605 Oct 24 2009 11:14:39
sample1.txt
217,169 KB total (4,319 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 Figure 6-3, 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.
Figure 6-3 Networking for performing file operations by using FTP
PC
Network
FTP Server
Eth1/0/0
10.137.217.221/16
Configuration Roadmap
The configuration roadmap is as follows:
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 6 Managing the File System
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
127