exit
Use exit to terminate the connection with an SFTP server and return to user view.
Syntax
exit
Views
SFTP client view
Predefined user roles
network-admin
Usage guidelines
This command functions as the bye and quit commands.
Examples
# Terminate the connection with the SFTP server.
sftp> exit
<Sysname>
get
Use get to download a file from an SFTP server and save it locally.
Syntax
get remote-file [ local-file ]
Views
SFTP client view
Predefined user roles
network-admin
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 server.
Examples
# Download the file temp1.c and save it as temp.c locally.
sftp> get temp1.c temp.c
Fetching /temp1.c to temp.c
/temp.c
help
Use help to display help information of an SFTP client command.
Syntax
help
100% 1424
175
1.4KB/s
00:00