edjx file download

Downloads a file to a specific folder.

edjx file download <file-name> [flags]

Argument

file-name           File name to be downloaded from the platform.

Flags

-o, --output <local-file-name>       Required. Specifies the location to save the file to or enter the name of the file to override.
-b, --bucket <bucket-id>             Optional. ID of the bucket associated with the file. Overrides the current bucket.
-v, --version <version-id>           Optional. ID of the version to download. Default is current version.

Example

To download a file:

  1. Select the bucket you want to view.

    root@edjx:~ # edjx config bucket -i
  2. Execute the download command.

    root@edjx:~ # edjx file download cats.png -o /Users/abc/images/myCats.png