Operating Files By Using Ftp Commands - 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
----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
l
l
l
l
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
Issue 02 (2011-10-15)
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.
Configure a data type for transmission files and a file transmission method.
Check the online help about FTP commands in the FTP client view.
Upload local files to the remote FTP server, or download files from the FTP server and
save them locally.
Create directories on or delete directories from the FTP server.
Display information about a specified remote directory or a file of the FTP server, or delete
a specified file from the FTP server.
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 Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 Accessing Another Device
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents