Table of Contents

Advertisement

Parameters
remote-file&<1- 1 0>: Specifies one or more files to delete on the server. &<1- 1 0> means that you can
provide up to 10 filenames, which are separated by space.
Usage guidelines
This command functions as the remove command.
Examples
# Delete file temp.c from the server.
sftp-client> delete temp.c
The following files will be deleted:
/temp.c
Are you sure to delete it? [Y/N]:y
This operation might take a long time. Please wait...
File successfully Removed

dir

Use dir to display information about the files and sub-directories under a specified directory.
Syntax
dir [ -a | -l ] [ remote-path ]
Views
SFTP client view
Default command level
3: Manage level
Parameters
-a: Displays the names of the files and sub-directories under the specified directory.
-l: Displays the detailed information about the files and sub-directories under the specified directory in
the form of a list.
remote-path: Specifies the directory to be queried.
Usage guidelines
If you do not specify the –a keyword or the –l keyword, the command displays detailed information about
the files and sub-directories under the specified directory in the form of a list.
If you do not specify the remote-path argument, the command displays information about the files and
sub-directories under the current working directory.
This command functions as the ls command.
Examples
# Display detailed information about the files and sub-directories under the current working directory in
the form of a list.
sftp-client> dir
-rwxrwxrwx
-rwxrwxrwx
1 noone
nogroup
1 noone
nogroup
1759 Aug 23 06:52 config.cfg
225 Aug 24 08:01 pubkey2
364

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 6600

Table of Contents