share_file
Make a link that downloads one file from a computer, for the user to open on their phone or pass on. Give the user the url. It works until it expires (60 minutes by default, up to 24 hours) and only while that computer is online. Anyone with the link can download the file, so make one only for a file the user asked to share. The file passes through BCD in pieces and is not kept. Requires read permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or ~ path of the file, up to 2 GB | |
| minutes | No | How long the link works; default 60 | |
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. |