3com 8807 Guia De Referência

Página de 1099
964
C
HAPTER
 56: SSH T
ERMINAL
 S
ERVICE
 C
ONFIGURATION
 C
OMMANDS
This command has the same functionality as the ls command.
Example
# View directory flash:/
sftp-client> dir 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 
exit
Syntax
exit
View
SFTP Client view
Parameter
None
Description
Use the exit command to terminate the connection with the remote SFTP server 
and return to the user view.
This command has the same functionality as the bye and quit commands.
Example
# Terminate the connection with the remote SFTP server.
sftp-client> exit
 
<SW8800> 
get
Syntax
get remote-file [ local-file ]
View
SFTP Client view
Parameter
remote-file: Name of a file on the remote SFTP server.
local-file: Name of a local file.
Description
Use the get command to download a file from the remote server and save it 
locally.
By default, if no local file name is specified, it is assumed that the local file has the 
same name as the file on the SFTP server.