HP MSR2000/3000/4000 Router Series Security Command Reference
297
Views
SFTP client view
Predefined user roles
network-admin
Parameters
remote-file: Specifies the files to delete from the server.
Usage guidelines
This command functions as the remove command.
Examples
# Delete the file temp.c from the server.
sftp> delete temp.c
Removing /temp.c
dir
Use dir to display information about the files and sub-directories under a directory.
Syntax
dir [ -a | -l ] [ remote-path ]
Views
SFTP client view
Predefined user roles
network-admin
Parameters
-a: Displays the names of the files and sub-directories under a directory.
-l: Displays detailed information about the files and sub-directories under a directory in the form of a list.
remote-path: Specifies the name of the directory to be queried.
Usage guidelines
If the –a and –l keywords are not specified, the command displays the names of the files and
sub-directories under a directory.
If the remote-path argument is not specified, the command displays detailed information about the files
and sub-directories under the current working directory.
This command functions as the ls command.
Examples
# Display the names of the files and sub-directories under the current working directory.
sftp> dir –a
config.cfg
pubkey2
pubkey1
pub1
new1