3com 4500 26-PORT Manual De Usuario
438
C
HAPTER
12: U
SING
S
YSTEM
M
ANAGEMENT
C
OMMANDS
Example
To delete the file temp.c from the server, enter the following:
sftp-client>delete temp.c
dir
Syntax
dir[remote-path]
View
SFTP client view
Parameter
remote-path
:The name of the directory to view.
Description
Use the
dir
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
ls
command.
Example
To view the directory, flash:/, enter the following:
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 System view.
This command has the same functionality as the
bye
and
quit
commands.