DownloadObject
Downloads an object from the specified bucket.
Input
| Name | Type | Required | Description |
| Bucket | String | True | The name of the bucket where the object is located. |
| Object | String | False | The name of the object to retrieve. If not specified, all objects from the specified bucket are retrieved. The format for downloading a specific object from a subfolder is Object='FolderName/SubfolderName/FileName.' |
| LocalFolderPath | String | False | The path to the local folder that receives the object. |
| UpdatedStartDate | Datetime | False | The start of the datetime range to filter objects by their last modified timestamp. Objects with an updated timestamp greater than or equal to this value are included. If not specified, objects are retrieved from the beginning until the UpdatedEndDate. |
| UpdatedEndDate | Datetime | False | The end of the datetime range to filter objects by their last modified timestamp. Objects with an updated timestamp less than or equal to this value are included. If not specified, objects are retrieved from the specified UpdatedStartDate until the present. |
| Encoding | String | False | If the LocalFile input is left empty, the data outputs to FileData in the specified encoding.
The allowed values are NONE, BASE64. The default value is BASE64. |
Result Set Columns
| Name | Type | Description |
| Object | String | The name of the object that is downloaded. |
| FileData | String | The base64encoded object data output, if the LocalFolderPath input is empty. |
| Success | String | Indicates whether the stored procedure executed successfully. |
| DownloadedObjectLocalPath | String | The full path to the downloaded object on disk. Null if LocalFolderPath input was not specified. |