4-4
Cisco SCE8000 Software Configuration Guide, Rel 3.1.6S
OL-16479-01
Chapter 4 Utilities
Working with SCE Platform Files
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 Download a File from an FTP Site, page 4-4
•
How to Upload a File to a Passive FTP Site, page 4-4
How to Copy a File
copy
Step 1
From the SCE# prompt, type
copy
source-file-name destination-file-name
and press
Enter
.
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://
.
Step 1
From the SCE# prompt, type
copy
ftp://username:[email protected]/h:/source-file
destination-file-name
and press
Enter
.
To upload a file to an FTP site, specify the FTP site as the destination
(
ftp://username:[email protected]/h:/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:[email protected]/h:/destination-file
and press
Enter
.
To download a file from a passive FTP site, specify the FTP site as the source
(
ftp://username:[email protected]/h:/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.105, specifying Passive FTP.
SCE#copy-passive /appli/analysis.sli ftp://myname:[email protected]/p:/appli/analysis.sli
sce#