Cisco SCE 8000 10GBE Software Configuration Manual page 87

Table of Contents

Advertisement

Chapter 4
Utilities
Copying Files
You can copy a file from the current directory to a different directory. You can also copy a file
(upload/download) to or from an FTP site.
To copy a file using passive FTP, use the copy-passive command.
How to Copy a File
From the SCE# prompt, type:
Command
copy source-file-name destination-file-name
Copying a File: Example
The following example copies the local analysis.sli file located in the root directory to the applications
directory.
SCE#copy analysis.sli applications/analysis.sli
sce#
How to Download a File from an FTP Site
Use the copy command to upload and download commands from and FTP site. In this case, either the
source or destination filename must begin with ftp://.
From the SCE# prompt, type copy ftp://username:password@ip-address/path:/source-file
Step 1
destination-file-name and press Enter.
To upload a file to an FTP site, specify the FTP site as the destination
(ftp://username:password@ip-address/path:/destination-file)
How to Upload a File to a Passive FTP Site
Step 1
From the SCE# prompt, type copy-passive source-file-name
ftp:/username:password@10.10.10.10/h:/destination-file and press Enter.
To download a file from a passive FTP site, specify the FTP site as the source
(ftp://username:password@ip-address/path:/source-file)
Uploading a File to a Passive FTP Site: Example
The following example uploads the analysis.sli file located on the local flash file system to the host
10.1.1.1, specifying Passive FTP.
SCE#copy-passive /appli/analysis.sli ftp://myname:mypw@10.1.1.1/p:/appli/analysis.sli
sce#
OL-30621-02
How to Copy a File, page 4-5
How to Download a File from an FTP Site, page 4-5
How to Upload a File to a Passive FTP Site, page 4-5
Working with Cisco SCE Platform Files
Purpose
Copies a file.
Cisco SCE 8000 10GBE Software Configuration Guide
4-5

Advertisement

Table of Contents
loading

Table of Contents