Copying Files

A variety of files and file types, including image files and configuration files, can be uploaded or downloaded to and from flash cards or TFTP servers.

Use the copy command to copy files.

    file
        — copy [source-url] string [destination-url] string [client-tls-profile string] [direct-http] [force] [proxy string] 

The following example copies the md-config.cfg file to the test1 directory.

[/file "cf3:\"]
A:admin@node-2# list test1
...
04/05/2019  09:36a                 167 nvram.dat-9
08/19/2020  06:05p                 320 nvsys.info
04/16/2014  10:15a      <DIR>          syslinux/
09/01/2020  08:13p      <DIR>          test1/
04/16/2014  10:15a      <DIR>          timos/
              27 File(s)                  45399 bytes.
               4 Dir(s)                10668032 bytes free.
[/file "cf3:\"]
A:admin@node-2# copy md-config.cfg test1
1 file copied.

[/file "cf3:\"]
A:admin@node-2# list test1

Volume in drive cf3 on slot A is TIMOS_VM_CF.

Volume in drive cf3 on slot A is formatted as FAT32

Directory of cf3:\test1

09/01/2020  08:13p      <DIR>          ./
09/01/2020  08:13p      <DIR>          ../
09/02/2020  07:48p               11401 md-config.cfg
09/01/2020  08:13p      <DIR>          test2/
               1 File(s)                  11401 bytes.
               3 Dir(s)                10656256 bytes free.