![HP FlexNetwork MSR Series Скачать руководство пользователя страница 640](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078640.webp)
622
remove
Use
remove
to delete a file from the SFTP server.
Syntax
remove
remote-file
Views
SFTP client view
Predefined user roles
network-admin
Parameters
remote-file
: Specifies a file by its name.
Usage guidelines
This command has the same function as the
delete
command.
Examples
# Delete the file
temp.c
from the SFTP server.
sftp> remove temp.c
Removing /temp.c
rename
Use
rename
to change the name of a file or directory on the SFTP server.
Syntax
rename
old-name
new-name
Views
SFTP client view
Predefined user roles
network-admin
Parameters
oldname
: Specifies the name of an existing file or directory.
newname
: Specifies a new name for the existing file or directory.
Examples
# Change the name of a file on the SFTP server from
temp1.c
to
temp2.c
.
sftp> dir
aa.pub temp1.c
sftp> rename temp1.c temp2.c
sftp> dir
aa.pub temp2.c
rmdir
Use
rmdir
to delete a directory from the SFTP server.