3com S7906E Guide De Référence

Page de 2327
 
1-36 
Parameters 
oldname: Original file name or directory name. 
newname: New file name or directory name. 
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 
rmdir 
Syntax 
rmdir remote-path&<1-10> 
View 
SFTP client view 
Default Level 
3: Manage level 
Parameters 
remote-path&<1-10>: Name of the directory on the remote SFTP server. &<1-10> means that you can 
provide up to 10 directory names that are separated by space. 
Description 
Use the rmdir command to delete the specified directories from an SFTP server. 
Examples 
# On the SFTP server, delete directory temp1 in the current directory. 
sftp-client> rmdir temp1 
Directory successfully removed