Download File
Download the full file as binary data using client.storage.downloadFile(). The result includes the file contents in bytes.
Function Signature
client.storage.downloadFile(params: DownloadFileParams): Promise<DownloadFileData | BolticErrorResponse>
Parameters
DownloadFileParams
| Field | Type | Required | Description |
|---|---|---|---|
file_name | string | ✅ | Full object path (same as list fullPath) |
sizeBytes | number or string | ❌ | Size in bytes; if omitted, the client resolves size when needed |
storageType | string | ❌ | Optional storage type |