3Com 5500-EI PWR Reference Manual page 1070

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

Examples
# Delete the file named test.txt on the server.
sftp-client> delete test.txt
The following files will be deleted:
/test.txt
Are you sure to delete it?(Y/N):y
This operation may take a long time.Please wait...
Received status: Success
File successfully Removed
dir
Syntax
dir [ -a | -l ] [ remote-path ]
View
SFTP client view
Parameters
-a: Displays the file and folder names in a specified directory.
-l: Displays the details about files and folders in a specified directory in a list.
remote-path: Name of the path where the file and folders to be queried reside.
Description
Use the dir command to query a specified directory on the remote SFTP server.
If -a or -l is not specified, the command displays details about the files and folders in the specified
directory in a list.
If no remote path is specified, this command displays the files in the current working directory.
This command has the same effect as that of the Is command.
Examples
# Display the files in the current directory.
sftp-client> dir
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
Received status: End of file
Received status: Success
nogroup
1759 Aug 23 06:52 config.cfg
nogroup
225 Aug 24 08:01 pubkey2
nogroup
283 Aug 24 07:39 pubkey1
nogroup
225 Sep 28 08:28 pub1
nogroup
0 Sep 28 08:24 new1
nogroup
0 Sep 28 08:18 new2
nogroup
225 Sep 28 08:30 pub2
1-28

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents