Rename - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Parameters
remotefile: Specifies the name of the file on the FTP server.
localfile: Specifies the name of the local file.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
If a file download is not completed due to network problems or insufficient storage space, you can
use the reget command to get the missing part of the file from the FTP server after you solve the
problem.
Examples
# Get the part of the s.bin file that is missing due to transmission interruption.
ftp> reget s.bin
local: s.bin remote: s.bin
350 Restarting at 1749706
150-Connecting to port 47429
150 38143.3 kbytes to download
226 File successfully transferred
39058742 bytes received in 66.2 seconds (576.1 kbyte/s)

rename

Use rename to rename a file.
Syntax
rename [ oldfilename [ newfilename ] ]
Views
FTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
oldfilename: Specifies the original file name.
newfilename: Specifies the new file name.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
Examples
# Rename the file a.txt as b.txt:
Method 1
ftp> rename
(from-name) a.txt
(to-name) b.txt
350 Enter the name to rename it to...
250 File renamed successfully
Method 2
ftp> rename a.txt
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents