Copying Files
Use the copy command to upload or download an image file, configuration file, or other file
types to or from a flash card or a TFTP server.
The scp command copies files between hosts on a network. It uses SSH for data transfer, and
uses the same authentication and provides the same security as SSH.
The source file for the scp command must be local. The file must reside on the router. The
destination file has to be of the format: user@host:file-name. The destination does not need
to be local.
Use the CLI syntax displayed below to copy files:
CLI Syntax:
The following displays an example of the copy command syntax:
Example:
Moving Files
Use the move command to move a file or directory from one location to another.
Use the CLI syntax displayed below to move files:
CLI Syntax:
The following displays an example of the command syntax:
Basic System Configuration Guide
file>
copy source-file-url dest-file-url [force]
scp local-file-url destination-file-url [router router
name | service-id] [force]
A:ALA-1>file cf1:\ # copy
104.cfgcf1:\test1\test2\test3\test.cfg
A:ALA-1>file cf1:\ # scp file1
admin@192.168.x.x:cf1:\file1
A:ALA-1>file cf1:\ # scp file2 user2@192.168.x.x:/user2/
file2
A:ALA-1>file cf1:\ # scp cf2:/file3
admin@192.168.x.x:cf1:\file3
file>
move old-file-url new-file-url [force]
File System Management
175