259
View
SFTP client view
Default level
3: Manage level
Parameters
None
Description
Use the
exit
command to terminate the connection with a remote SFTP server and return to user view.
This command functions as the
bye
and
quit
commands.
Examples
# Terminate the connection with the remote SFTP server.
sftp-client> exit
Bye
Connection closed.
<Sysname>
get
Syntax
get
remote-file
[
local-file
]
View
SFTP client view
Default level
3: Manage level
Parameters
remote-file
: Name of a file on the remote SFTP server.
local-file
: Name for the local file.
Description
Use the
get
command to download a file from a remote SFTP server and save it locally.
If you do not specify the
local-file
argument, the file will be saved locally with the same name as that on
the remote 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
Syntax
help
[
all
|
command-name
]