DownloadObject
Passes the name of a bucket and object to download.
Input
| Name | Type | Required | Description |
| Bucket | String | True | Bucket name where the object is located. |
| Object | String | False | Object name for the object to be retrieved. If not specified, all the 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 | Object name for the object that is downloaded. |
| FileData | String | The base64encoded object data output, if the LocalFolderPath input is empty. |
| Success | String | Indicator if the stored procedure was successful or not. |
| DownloadedObjectLocalPath | String | The full path to the downloaded object on disk. Null if LocalFolderPath input was not specified. |