464
Usage guidelines
This command has the same function as entering the question mark (?).
Examples
# Display help information on the SFTP client.
sftp> help
Available commands:
bye Quit sftp
cd [path] Change remote directory to 'path'
cdup Change remote directory to the parent directory
delete path Delete remote file
dir [-a|-l][path] Display remote directory listing
-a List all filenames
-l List filename including the specific
information of the file
exit Quit sftp
get remote-path [local-path] Download file
help Display this help text
ls [-a|-l][path] Display remote directory
-a List all filenames
-l List filename including the specific
information of the file
mkdir path Create remote directory
put local-path [remote-path] Upload file
pwd Display remote working directory
quit Quit sftp
rename oldpath newpath Rename remote file
remove path Delete remote file
rmdir path Delete remote empty directory
? Synonym for help
ls
Use
ls
to display information about the files and subdirectories under a directory.
Syntax
ls
[
-a
|
-l
] [
remote-path
]
Views
SFTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
-a
: Displays detailed information about files and subdirectories under a directory in a list, including
the files and subdirectories with names starting with dots (.).
-l
: Displays detailed information about the files and subdirectories under a directory in a list,
excluding the files and subdirectories with names starting with dots (.).