260
View
SFTP client view
Default level
3: Manage level
Parameters
all
: Displays a list of all commands.
command-name
: Name of a command.
Description
Use the
help
command to display a list of all commands or the help information of an SFTP client
command.
With neither the argument nor the keyword specified, the command displays a list of all commands.
Examples
# Display the help information of the
get
command.
sftp-client> help get
get remote-path [local-path] Download file.Default local-path is the same
as remote-path
ls
Syntax
ls
[
-a
|
-l
] [
remote-path
]
View
SFTP client view
Default level
3: Manage level
Parameters
-a
: Displays the filenames and the folder names of the specified directory.
-l
: Displays in a list form detailed information of the files and folders of the specified directory.
remote-path
: Name of the directory to be queried.
Description
Use the
ls
command to display file and folder information under a specified directory.
With the
–a
and
–l
keyword
not specified, the command displays detailed information of files and folders
under the specified directory in a list form.
With the
remote-path
not specified, the command displays the file and folder information of the current
working directory.
This command functions as the
dir
command.
Examples
# Display in a list form detailed file and folder information under the current working directory.
sftp-client> ls
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 config.cfg