R0106-HP MSR Router Series Security Configuration Guide(V7)

334
Task Command
Remarks
Change the name of a directory on
the SFTP server.
rename oldname newname Available in SFTP client view.
Create a new directory on the SFTP
server.
mkdir remote-path Available in SFTP client view.
Delete one or more directories from
the SFTP server.
rmdir remote-path Available in SFTP client view.
Working with SFTP files
Task Command
Remarks
Change the name of a file on the
SFTP server.
rename old-name new-name Available in SFTP client view.
Download a file from the remote
server and save it locally.
get remote-file [ local-file ] Available in SFTP client view.
Upload a local file to the SFTP
server.
put local-file [ remote-file ] Available in SFTP client view.
Display the files under a directory.
dir [ -a | -l ] [ remote-path ]
ls [ -a | -l ] [ remote-path ]
Available in SFTP client view.
The dir command functions as the
ls command.
Delete one or more directories from
the SFTP server.
delete remote-file
remove remote-file
Available in SFTP client view.
The delete command functions as
the remove command.
Displaying help information
This configuration task displays the help information of an SFTP client command, such as the command
format and parameters.
To display the help information:
Task Command
Remarks
Display the help information of an
SFTP client command.
help
?
Available in SFTP client view.
These two commands function in
the same way.
Terminating the connection with the SFTP server
Task Command
Remarks
Terminate the connection with the
SFTP server and return to user view.
bye
exit
quit
Available in SFTP client view.
These three commands function in the
same way.