DownloadFile
Downloads a file from the Stripe account.
Stored Procedure Specific Information
Stripe allows only a small subset of columns to be used in the EXECUTE query. These columns can typically only be used with the = comparison.
For example:
EXECUTE DownloadFile FileId = 'file_1TrGydHWDgcyHde07u73w8IT', DownloadLocation = 'D:\\file.csv'
Input
| Name | Type | Accepts Output Streams | Description |
| FileId | String | False | The Id of the file to download. |
| DownloadLocation | String | False | The local path where the downloaded file is saved, for example, C:\\file.pdf. |
| Encoding | String | False | The encoding type of the FileData input.
The allowed values are NONE, BASE64. The default value is BASE64. |
| FileStream | String | True | An instance of an output stream where file data is written to. Only used if DownloadLocation is not provided. |
Result Set Columns
| Name | Type | Description |
| Status | String | The execution status of the stored procedure. |
| FileData | String | The downloaded file data, returned when no download location or file stream is provided. |