3Com 4500 PWR 50-PORT Switch User Manual


 
440 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
sftp-client>help get
get remote-path [local-path] Download file
Default local-path is the same with remote-path
ls Syntax
ls [ remote-path ]
View
SFTP client view
Parameter
remote-path: The name of the directory to view.
Description
Use the ls command to view the files in the specified directory.
If remote-path is not specified, the files in the current directory will be displayed.
This command has the same functionality as the dir command.
Example
To view the directory flash:/, enter the following:
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
mkdir Syntax
mkdir remote-path
View
SFTP client view
Parameter
remote-path: The name of a directory on the remote SFTP server.
Description
Use the mkdir command to create a directory on the remote SFTP server.
Example
To create a directory test on the remote SFTP server, enter the following:
sftp-client>mkdir test