HP FlexFabric 7900 Series Command Reference Manual page 201

Security
Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

dir [-a|-l][path]
-a
-l
exit
get remote-path [local-path] Download file
help
ls [-a|-l][path]
-a
-l
mkdir path
put local-path [remote-path] Upload file
pwd
quit
rename oldpath newpath
remove path
rmdir path
?
ls
Use ls to display information about the files and sub-directories under a directory.
Syntax
ls [ -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. If this argument is not specified, the
command displays detailed information about the files and sub-directories under the current working
directory.
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.
This command functions as the dir command.
Examples
# Display the names of the files and sub-directories under the current working directory.
sftp> ls –a
config.cfg
Display remote directory listing
List all filenames
List filename including the specific
information of the file
Quit sftp
Display this help text
Display remote directory
List all filenames
List filename including the specific
information of the file
Create remote directory
Display remote working directory
Quit sftp
Rename remote file
Delete remote file
Delete remote empty directory
Synonym for help
194

Advertisement

Table of Contents
loading

Table of Contents