Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SSH Terminal Service
Configuration Commands
Huawei Technologies Proprietary
1-36
Description
Use the
ls
command to display the files in the specified directory on the remote SFTP
server..
If the
remote-path
argument is not specified, the files in the current directory are
displayed.
This command has the same function as the
dir
command.
Example
# Display the files in directory flash:/.
sftp-client> ls flash:/
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 vrpcfg.cfg
-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2
-rwxrwxrwx 1 noone nogroup 283 Aug 24 07:39 pubkey1
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:28 pub1
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:24 new1
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:18 new2
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:30 pub2
1.4.11 mkdir
Syntax
mkdir
remote-path
View
SFTP Client view
Parameter
remote-path
: Name of a directory on the remote SFTP server.
Description
Use the
mkdir
command to create a directory on the remote SFTP server.
Example
# Create directory hj test on the remote SFTP server.
sftp-client>mkdir hj
New directory created
1.4.12 put
Syntax
put
local-file
[
remote-file
]