Rename - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
230 Logged in successfully
[ftp]
# Display the syntax of the user command.
[ftp] remotehelp user
214 Syntax: USER <sp> <username>

1.2.27 rename

Syntax
rename remote-source remote-dest
View
FTP client view
Parameter
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.
Example
# Enter FTP client view.
<Quidway> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):switch
331 Give me your password, please
Password:
230 Logged in successfully
[ftp]
# Rename the file named temp.c as forever.c.
[ftp] rename temp.c forever.c
350 Enter the name to rename it to...
250 File renamed successfully
Huawei Technologies Proprietary
1-28
Chapter 1 FTP and TFTP

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents