Rename; Rmdir; User - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

rename

Syntax
rename remote-source remote-dest
View
FTP client view
Parameters
remote-source: Name of a file on a remote host.
remote-dest: Destination file name.
Description
Use the rename command to rename a file on a remote FTP server.
If the destination file name conflicts with the name of an existing file or directory, you will fail to rename
the file.
Examples
# Rename file temp.c as forever.c.
[ftp] rename temp.c forever.c
350 Enter the name to rename it to...
250 File renamed successfully

rmdir

Syntax
rmdir pathname
View
FTP client view
Parameters
pathname: Name of a directory on an FTP server.
Description
Use the rmdir command to remove a specified directory on an FTP server.
Note that you can only use this command to remove directories that are empty.
Examples
# Remove the directory flash:/temp1 on the FTP server. (Assume that the directory is empty.)
[ftp] rmdir flash:/temp1
200 RMD command successful.

user

Syntax
user username [ password ]
View
FTP client view
1-17

Advertisement

Table of Contents
loading

Table of Contents