Parameter | Description | Value |
---|---|---|
all | Displays all commands in the SFTP client view. | - |
command-name | Displays the format and parameters of a specified command in the SFTP client view. | - |
Usage Scenario
In the SFTP view, you can only enter the question mark (?) to obtain all commands in the SFTP client view. If you enter a command keyword and the question mark (?) to query command parameters, an error message is displayed, as shown in the following:
sftp-client> dir ? Error: Failed to list files.
You can run the help command to obtain the help information and display all commands or a command format in the SFTP client view.
Precautions
If you specify no parameter when running the help command, all commands in the SFTP client view are displayed. This has the same effect as the help all command or directly entering the question mark (?) in the SFTP client view.
# Display the format of the command get.
<HUAWEI> system-view [HUAWEI] sftp 10.137.217.201 Please input the username:admin Trying 10.137.217.201 ... Press CTRL+K to abort Connected to 10.137.217.201 ... Enter password:
sftp-client> help get get Remote file name STRING<1-64> [Local file name STRING<1-64>] Download file Default local file name is the same with remote file.
# Display all commands in the SFTP client view.
sftp-client> help all cd cdup dir get help ls mkdir put pwd quit rename remove rmdir