3com 8807 Guia De Referência

Página de 1099
SFTP Client Configuration Commands
965
Example
# Download file temp1.c and save it with name temp.c.
sftp-client> get temp1.c temp.c 
help
Syntax
help [ command ]
View
SFTP Client view
Parameter
command: Name of a command.
Description
Use the help command to view the help information for SFTP client commands.
If the command argument is not specified, all command names will be displayed.
Example
# View the help information for the get command.
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: Name of the directory to view.
Description
Use the ls command to view the files in the specified directory.
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