![Huawei AR2200 Series Configuration Manual Download Page 154](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296154.webp)
2.
Run:
open
[
-a
source-ip-address
|
-i
interface-type
interface-number
]
host
[
port-number
] [
vpn-instance
vpn-instance-name
]
The router is connected to the FTP server.
NOTE
Before logging in to the FTP server, you can run the
set net-manager vpn-instance
command to
configure a default VPN instance. After that, the default VPN instance is used in the FTP operation.
----End
8.6.4 Operating Files by Using FTP Commands
After logging in to a FTP server, you can operate files by using FTP commands. File operations
include configuring a file transmission method, checking online help about FTP commands,
uploading or downloading files, and managing directories and files.
Context
After logging in to the FTP server, you can perform the following operations:
l
Configure a data type for transmission files and a file transmission method.
l
Check the online help about FTP commands in the FTP client view.
l
Upload local files to the remote FTP server, or download files from the FTP server and
save them locally.
l
Create directories on or delete directories from the FTP server.
l
Display information about a specified remote directory or a file of the FTP server, or delete
a specified file from the FTP server.
After logging in to the router that functions as a client and entering the FTP client view, you can
perform the following steps:
Procedure
l
Configuring data type and transmission mode for the file.
–
Run:
ascii
|
binary
The data type of the file to be transmitted is ascii or binary mode.
NOTE
FTP supports the ASCII type and the binary type. Their differences are as follows:
l
In ASCII transmission mode, ASCII characters are used to separate carriage returned from
line feeds.
l
In binary transmission mode, characters can be transferred without format conversion or
formatting.
The selection of the FTP transmission mode is client-customized. The system defaults to the
ASCII transmission mode. The client can use a mode switch command to switch between the
ASCII mode and the binary mode. The ASCII mode is used to transmit .txt files and the binary
mode is used to transmit binary files.
–
Run:
passive
The passive file transfer mode is configured.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
8 Accessing Another Device
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
143