Remove; Rename - HP FlexFabric 7900 Series Command Reference Manual

Security
Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

sftp> quit
<Sysname>

remove

Use remove to delete the specified files from an SFTP server.
Syntax
remove remote-file
Views
SFTP client view
Predefined user roles
network-admin
Parameters
remote-file: Specifies the files to delete from an SFTP server.
Usage guidelines
This command functions 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 an 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 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
197

Advertisement

Table of Contents
loading

Table of Contents