Files (File Bridge)
Send a file from the console to one device, several, a group, an update ring or every device, into a fixed folder, and follow each device's delivery.
File Bridge copies a file from the console to your devices, for example a file for your own setup. You upload the file once and send it to as many devices as you need. Open Apps, then the File Bridge tab.
Where a file lands
You never type a path on the device. Today a file goes to the Files folder: /var/lib/vela/files on each device. Apps from the Vela Catalog can't open this folder yet.
Two more places, the user's Documents folder and the device's trusted certificates (CA), are switched off for now: VelaOS devices can't save files there yet. They come back once they can. Files sent to them earlier still show in the send history.
Limits
- One file at a time, at most 100 MB.
- File names: at most 200 bytes, without
/, without two dots in a row, without a leading dot and without control characters. - A send goes to up to 1,000 devices you pick by name, a group (with the groups below it), an update ring (Test, Pilot or Production) or every device.
- A file with the same name in the same place on the device is replaced. File Bridge keeps no older versions.
Send a file
- 1
Upload it
On Files, select Upload file and pick it. The console computes its SHA-256 checksum before it uploads.
- 2
Choose where and to whom
Select Send to devices on the file and pick the place on the device. Then pick who gets it: One or more devices, A group (its subgroups are included), An update ring (a device's own ring, else its group's, else Production) or Every device.
Under Offline devices, choose how long a device that is offline can still get the file: 1, 3, 7 (the default) or 30 days.
- 3
Confirm
For every device, or 25 devices or more, the console shows how many devices the file goes to and how many are offline right now, and you confirm that number. If the number changes before you confirm, the send is refused and you see the new number. If your organisation requires two-step sign-in, the console asks for your code.
Follow each device
Sent files lists the 50 newest sends. Open one to see how many devices are in each state, then each device: Waiting for the device, Sent, Saved, Failed with the reason, or Expired. Online devices get the file at once. A device that is offline gets it, with a fresh download link, when it reconnects; if it stays offline past the time you chose, its delivery shows as Expired and nothing is sent to it.
Try again sends the file once more to every device that failed or expired, with a new 7-day window. Each device downloads the file over HTTPS and checks its size and SHA-256 before it writes it; a file that doesn't match is refused. The send is signed, so a device only accepts it from your console.
Who can send
Uploading files needs a role that can change organisation settings. Sending and deleting need that role too and a person signed in: API keys can upload files but can't send or delete them. Every upload, delete and send is in the audit log, with the file's checksum and the devices it went to.
Delete a file
Deleting a file removes it from the console and from every device that saved it. A device keeps its copy only if the copy changed since it arrived, for example because the person edited it. A deleted trusted certificate stops being trusted.
Files aren't scanned for malware
Related
- Network and certificate errors, including when to send your own CA.
- Team & RBAC.