Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 8 SSH Terminal Service Configuration
Commands
Huawei Technologies Proprietary
8-29
Parameter
oldname: Original file name.
newname: New file name.
Description
Use the rename command to change the name of the specified file on the SFTP server.
Example
# Change the name of the file temp1 on the SFTP server to temp2.
sftp-client> rename temp1 temp2
8.4.16 rmdir
Syntax
rmdir remote-path
View
SFTP Client view
Parameter
remote-path: Name of a directory on the remote SFTP server.
Description
Use the rmdir command to delete the specified directory from the SFTP server.
Example
# Delete the directory D:/temp1 from the SFTP server.
sftp-client> rmdir D:/temp1
8.4.17 sftp
Syntax
sftp ipaddr [ prefer_kex { dh_group1 | dh_exchange_group } ] [ prefer_ctos_cipher
{ des | 3des | aes128 } ] [ prefer_stoc_cipher { des | 3des | aes128 } ]
[ prefer_ctos_hmac { sha1 | sha1_96 | md5 | md5_96 } ] [ prefer_stoc_hmac { sha1
| sha1_96 | md5 | md5_96 } ]
View
System view