R3303-HP HSR6800 Routers Security Command Reference

361
Syntax
get remote-file [ local-file ]
Views
SFTP client view
Default command level
3: Manage level
Parameters
remote-file: Specifies the name of a file on the SFTP server.
local-file: Specifies the name for the local file. If this argument is not specified, the file will be saved
locally with the same name as that on the SFTP server.
Examples
# Download file temp1.c and save it as temp.c locally.
sftp-client> get temp1.c temp.c
Remote file:/temp1.c ---> Local file: temp.c
Downloading file successfully ended
help
Use help to display all commands or the help information of an SFTP client command.
Syntax
help [ all | command-name ]
Views
SFTP client view
Default command level
3: Manage level
Parameters
all: Displays all commands.
command-name: Specifies a command.
Usage guidelines
If you do not specify any argument or keyword, the command displays all commands in a list.
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
Use ls to display file and folder information under the specified directory.