![HP 5120 SI Series Command Reference Manual Download Page 274](http://html.mh-extra.com/html/hp/5120-si-series/5120-si-series_command-reference-manual_162935274.webp)
263
remove
Syntax
remove
remote-file
&<1-10>
View
SFTP client view
Default level
3: Manage level
Parameters
remote-file
&<1-10>: Names of files on an SFTP server. &<1-10> means that you can provide up to 10
filenames, which are separated by space.
Description
Use the
remove
command to delete files from a remote server.
This command functions as the
delete
command.
Examples
# Delete file
temp.c
from the server.
sftp-client> remove temp.c
The following files will be deleted:
/temp.c
Are you sure to delete it? [Y/N]:y
This operation might take a long time.Please wait...
File successfully Removed
rename
Syntax
rename
oldname
newname
View
SFTP client view
Default level
3: Manage level
Parameters
oldname
: Name of an existing file or directory.
newname
: New name for the file or directory.
Description
Use the
rename
command to change the name of a specified file or directory on an SFTP server.
Examples
# Change the name of a file on the SFTP server from
temp1.c
to
temp2.c
.
sftp-client> rename temp1.c temp2.c
File successfully renamed