![Huawei AR2200 Series Configuration Manual Download Page 114](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296114.webp)
----End
6.4.7 Performing File Operations by Using SFTP
On the SFTP client, you can log in to the SSH server to create or delete directories on the SSH
server.
Context
After logging in to the SFTP server, you can perform the following operations:
l
Displaying the SFTP client command help
l
Managing the directory on the SFTP server
l
Managing the directory on the SFTP server
After logging in to the SFTP server and entering the SFTP client view, you can perform the
following one or more operations.
Procedure
l
Run:
help
[
all
|
command-name
]
The SFTP client command help is displayed.
l
You can perform one or multiple of the following operations as required.
–
Run:
cd
[
remote-directory
]
The current operating directory of users is changed.
–
Run:
pwd
The current operating directory of users is displayed.
–
Run:
dir
[
-l -a
] [
path
]
The file list in the specified directory is displayed.
–
Run:
rmdir
remote-directory
&<1-10>
–
The directory on the server is deleted.
–
Run:
mkdir
remote-directory
A directory is created on the server.
l
You can perform one or multiple of the following operations as required.
–
Run:
rename
old-name
new-name
The name of the specified file on the server is changed.
–
Run:
get
remote-filename
[
local-filename
]
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
103