8 FTP, TFTP and XModem
Quidway NetEngine80
Configuration Guide - Basic Configurations
8-12 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2009-12-20)
Step 2 Run one or more commands in the following to manage directories.
z
Run:
cd pathname
The working path of the remote FTP server is specified.
z
Run:
cdup
The working path of the FTP server is switched to the upper-level directory.
z
Run:
pwd
The specified directory of the FTP server is displayed.
z
Run:
lcd
The specified directory of the FTP client is displayed.
z
Run:
mkdir remote-directory
A directory is created on the FTP server.
z
Run:
rmdir remote-directory
A directory is deleted on the FTP server.
z
The directory to be created can comprise letters and digits, rather than such special characters as <,
>, ?, \ and :.
z
When running the mkdir /abc command, you create a sub-directory named "abc".
----End
8.4.8 Managing Files
Do as follows on the router that serves as the client:
Step 1 Run:
ftp [-a source-ip-address | -i { interface-name | interface-type interface-num } ] [ host
[ port-number ] ] [ vpn-instance vpn-instance-name ]
The router is connected to the FTP server.
Step 2 Run one or more commands in the following to manage directories.
z
Run:
ls [ remote-filename ] [ local-filename ]
The specified directory or file on the remote FTP server is displayed.
z
Run:
dir [ remote-filename ] [ local-filename ]