Example For Performing File Operations By Means Of Ftp - Huawei AR2200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
l
Procedure
Step 1 Display the file information in the current directory, flash:/ is the flash memory identifier.
<Huawei> dir
Directory of flash:/
Idx
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%
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
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
server from the HyperTerminal to upload or download files.
Issue 02 (2011-10-15)
Source file path and target file path
Attr
Size(Byte)
0
-rw-
1,241
1
-rw-
2,688
2
-rw-
396
3
-rw-
540
4
-rw-
705
5
-rw-
88,942
6
-rw-
80,783
7
-rw-
56,523
complete
Attr
Size(Byte)
0
-rw-
1,241
1
-rw-
2,688
2
-rw-
396
3
-rw-
540
4
-rw-
705
5
-rw-
88,942
6
-rw-
80,783
7
-rw-
56,523
8
-rw-
1,605
Figure
6-1, after the FTP server is enabled on the router, you can log in to the FTP
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Date
Time(LMT)
Jun 16 2011 09:15:58
Apr 27 2011 17:06:50
Mar 21 2011 08:25:25
Mar 21 2011 08:25:43
Apr 13 2011 11:23:45
Jul 01 2011 15:18:22
Jul 01 2011 16:28:32
Jun 15 2011 10:43:50
Date
Time(LMT)
Jun 16 2011 09:15:58
Apr 27 2011 17:06:50
Mar 21 2011 08:25:25
Mar 21 2011 08:25:43
Apr 13 2011 11:23:45
Jul 01 2011 15:18:22
Jul 01 2011 16:28:32
Jun 15 2011 10:43:50
Jun 15 2011 10:43:50
6 Managing File System
FileName
rootcert.pem
pat1.pat
rsa_host_key.efs
rsa_server_key.efs
iascfg.zip
creat_vlanif.bat
undovlanif.bat
mon_file.txt
FileName
rootcert.pem
pat1.pat
rsa_host_key.efs
rsa_server_key.efs
iascfg.zip
creat_vlanif.bat
undovlanif.bat
mon_file.txt
sample1.txt
106

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents