343
Views
SFTP client view
Default command level
3: Manage level
Usage guidelines
This command functions as the
bye
and
quit
commands.
Examples
# Terminate the connection with the SFTP server.
sftp-client> exit
Bye
Connection closed.
<Sysname>
get
Use
get
to download a file from the SFTP server and save it locally.
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