DownloadFileChunk
Downloads a specific chunk of a file.
Procedure-Specific Information
For example:
EXEC DownloadFileChunk ModelId = 'B64GD1234E9F1234567890123E', FileId = '112000000018', ChunkId = '0', LocalPath = 'C:\temp\download.csv'
Input
| Name | Type | Required | Accepts Output Streams | Description |
| WorkspaceId | String | False | False | The ID of the workspace. |
| ModelId | String | True | False | The ID of the model. |
| FileId | String | True | False | The ID of the file. |
| ChunkId | String | True | False | The 0-based index of the chunk to download. |
| LocalPath | String | False | False | The absolute path where the file chunk will be saved. |
| FileStream | String | False | True | The output stream for the file data (used if LocalPath is not set). |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation was successful. |
| Details | String | Any extra details on the operation's execution. |
| FileData | String | If the LocalPath and FileStream inputs are empty, file data will be output encoded in base64. |