HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Command Reference - Page 115
and saves it with its original file name. The destination file name is case sensitive
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 115 highlights
Views User view Predefined user roles network-admin Parameters fileurl-source: Specifies the name or URL of the file to be copied. If the file resides on an FTP or TFTP server rather than on the device, specify the URL of the file. The file name is case insensitive. Whether a URL is case sensitive depends on the server. fileurl-dest: Specifies the name or URL of the destination file or directory. To copy the source file to an FTP or TFTP server, specify a URL. If you specify a directory, the device copies the specified file to the directory and saves it with its original file name. The destination file name is case sensitive, and the destination directory name is case insensitive. Whether a URL is case sensitive depends on the server. Usage guidelines You can use the copy command to perform the following operations: • Copy a local file and save it locally. • Copy a local file and save it to an FTP or TFTP server. • Copy a file on an FTP or TFTP server and save it locally. To specify a file or directory, use the following guidelines: Location On the device Name format Use the file name guidelines in Fundamentals Configuration Guide. On an FTP server Enter the URL in the format ftp://FTP username[:password]@server address[:port number]/file path[/file name]. Enter the URL in the format On a TFTP server tftp://server address[:port number]/file path[/file name]. Remarks N/A The username and password must be the same as those configured on the FTP server. If the server authenticates users only by the username, you are not required to enter the password. For example, to use the username 1 and password 1 and specify the startup.cfg file in the authorized working directory on FTP server 1.1.1.1, enter the URL ftp://1:[email protected]/startup.cfg. For example, to specify the startup.cfg file in the working directory on TFTP server 1.1.1.1, enter the URL tftp://1.1.1.1/startup.cfg. Examples # Copy the test.cfg file in the current folder and save it to the current folder as testbackup.cfg. copy test.cfg testbackup.cfg Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y Copying file flash:/test.cfg to flash:/testbackup.cfg...Done. # Copy test.cfg from the working directory on FTP server 1.1.1.1 and save it to the local current folder as testbackup.cfg. In this example, the FTP username and password are user and private. copy ftp://user:[email protected]/test.cfg testbackup.cfg Copy ftp://user:[email protected]/test.cfg to flash:/testbackup.cfg?[Y/N]:y Copying file ftp://user:[email protected]/test.cfg to flash:/testbackup.cfg... Done. 108