3Com 4500 PWR 50-PORT Switch User Manual


 
SFTP Client Configuration Commands 443
newname: New file name.
Description
Use the rename command to change the name of the specified file on the SFTP
server.
Example
To change the name of the file temp1 on the SFTP server to temp2, enter the
following:
sftp-client>rename temp1 temp2
rmdir Syntax
rmdir remote-path
View
SFTP client view
Parameter
remote-path: The name of a directory on the remote SFTP server.
Description
Use the rmdir command to delete the specified directory from the SFTP server.
Example
To delete the directory D:/temp1 from the SFTP server, enter the following:
sftp-client>rmdir D:/temp1
sftp Syntax
sftp { host-ip | host-name } [ port-num ] [ 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
Parameter
host-ip: The IP address of the server.
host-name: The name of the server. It is a string with a length of 1 to 20
characters.
port-num: The port number of the server, ranging from 0 to 65535. By default,
the port number is 22.