bokio_download_upload
Downloads an uploaded Bokio file to a specified save path and returns the written path plus byte count, so you can retrieve file contents without overwriting existing files.
Instructions
Download an uploaded file's content to savePath. Returns the written path and byte count; bokio_get_upload returns its metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | Yes | File path inside BOKIO_DOWNLOAD_DIR, else the working directory; an existing file is never overwritten, so pick a new name. | |
| uploadId | Yes | Id from bokio_list_uploads; an unknown id returns a not-found error. | |
| companyId | No | Bokio company id. Defaults to BOKIO_COMPANY_ID if omitted. |