DownloadFile
Downloads a specified file from OneDrive or SharePoint.
Input
| Name | Type | Required | Description |
| FileId | String | True | Identifier of the file to be downloaded. |
| DownloadTo | String | False | Full path where the downloaded file is saved. If not specified, the file content is returned as output. |
| Encoding | String | False | Encoding format used for the FileData input, such as Base64.
使用できる値は次のとおりです。NONE, BASE64 デフォルト値はBASE64です。 |
Result Set Columns
| Name | Type | Description |
| Status | String | Indicates whether the stored procedure executed successfully or failed. |
| FileData | String | Encoded content of the downloaded file. Returned only if DownloadTo and FileStream are not specified. |