fun devices transfer device-to-cloud

Transfer a file from device to cloud

Synopsis

This command transfer a file from device to cloud. Instructs the device to upload a file to Fundamentum, waits for it, then downloads it locally.

fun devices transfer device-to-cloud [flags]

Options

      --context string       context (default "default")
  -d, --device int           ID of the target device. Must be a number. Mutually exclusive with --serial.
  -h, --help                 help for device-to-cloud
  -n, --name string          Name for the downloaded file. (required)
  -p, --project int          Id of the project containing the registry. Must be a number. (required)
  -r, --registry int         Id of the registry containing the device. Must be a number. (required)
      --remote-path string   Path on the remote device where the file is located. (required)
  -s, --serial string        Serial number of the device. Mutually exclusive with --device.

Options inherited from parent commands

      --config string   config directory

SEE ALSO