Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

emscli execute copyfile

emscli execute copyfile

copies a file to/from a location(s) on the host

Synopsis

execute copyfile copies a file to/from a location(s) on the host.

Use the --from and --to flags to specify the source and destination paths of the file to be copied.

emscli execute copyfile [flags]

Options

      --from string   The file that will be copied.
  -h, --help          help for copyfile
      --preserve      The permissions of the original file will be set to the copied file.
      --to string     Path and file name to where the file will copied.

See also

emscli execute copyfile

emscli execute copyfile

copies a file to/from a location(s) on the host

Synopsis

execute copyfile copies a file to/from a location(s) on the host.

Use the --from and --to flags to specify the source and destination paths of the file to be copied.

emscli execute copyfile [flags]

Options

      --from string   The file that will be copied.
  -h, --help          help for copyfile
      --preserve      The permissions of the original file will be set to the copied file.
      --to string     Path and file name to where the file will copied.

See also