Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 8 SSH Terminal Service Configuration
Commands
Huawei Technologies Proprietary
8-26
If the remote-path argument is not specified, the files in the current directory will be
displayed.
This command has the same functionality as the dir command.
Example
# View 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
8.4.10 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 test on the remote SFTP server.
sftp-client> mkdir test
8.4.11 put
Syntax
put local-file [ remote-file ]
View
SFTP Client view