Downloads

Download files to the device's storage.

Downloaded files can be used with other device functionality, such as as virtual machine disk images, and firmware images for provisioning other devices with TFTP.

New Download items can be added.

Download

A file to download to the device's storage.

Properties

Enable

Enable this download.

  • Data type: boolean
  • Default: true
  • Configuration

CLI: (cli)> config storage download <key> enable

File ready

Download is successful and complete.

  • Data type: boolean
  • Status

CLI: (cli)> show storage download <key> ready

Status

Current download status.

  • Data type: string
  • Status

CLI: (cli)> show storage download <key> status

URL

The URL to download.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config storage download <key> url

Destination filesystem

Download the file to this filesystem.

  • Data type: reference path
  • References instances of: Storage / Filesystems
  • Default: /storage/disk/user-data
  • Configuration
  • Required

CLI: (cli)> config storage download <key> filesystem

Destination path

Path relative to the destination filesystem.

May contain "/" path separators to download to a subdirectory. Terminate with a path separator character to preserve the original filename.

  • Data type: string
  • Default: /
  • Configuration
  • Required

CLI: (cli)> config storage download <key> path

Read only

Downloaded file will be set read-only.

If the file is set as read-only and is modified, the hash check will fail and the file will be re-downloaded.

  • Data type: boolean
  • Default: false
  • Configuration

CLI: (cli)> config storage download <key> read-only

Hash method

Check the downloaded file's integrity with a hash.

Select the hashing method for checking the downloaded file.

OptionLabelDescription
noneNoneNo hashing will be performed.
md5MD5MD5 hashing will be performed.
sha1SHA1SHA1 hashing will be performed.
sha256SHA256No hashing will be performed.
sha512SHA512No hashing will be performed.
  • Data type: string select
  • Default: none
  • Configuration
  • Required

CLI: (cli)> config storage download <key> hash-method

Hash

The hash used to check the downloaded file's integrity.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config storage download <key> hash