Predefined user roles
network-admin
mdc-admin
Example
# Return to the upper-level directory from the current working directory /test1.
sftp> cd test1
Current Directory is:/test1
sftp> pwd
Remote working directory: /test1
sftp> cdup
Current Directory is:/
sftp> pwd
Remote working directory: /
sftp>
delete
Use delete to delete a file from the SFTP server.
Syntax
delete remote-file
Views
SFTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
remote-file: Specifies a file by its name.
Usage guidelines
This command has the same function as the remove command.
Examples
# Delete file temp.c from the SFTP server.
sftp> delete temp.c
Removing /temp.c
delete ssh client server-public-key
Use delete ssh client server-public-key to delete server public key information saved in the public
key file of the SSH client.
Syntax
delete ssh client server-public-key [ server-ip ip-address ]
Views
System view
458