DownloadFile
Downloads files from an attachment field in an app.
Input
| Name | Type | Required | Description |
| FileKey | String | True | The Id of the file. |
| LocalPath | String | False | The local path to save the file to. |
| FileName | String | False | The file name to save the files to. |
| GuestSpaceId | String | False | This parameter is used for documents that are in the guest space. Do not add this parameter if the connection property GuestSpaceId is specified in the connection string. |
| Encoding | String | False | The FileData input encoding type.
The allowed values are NONE, BASE64. The default value is BASE64. |
Result Set Columns
| Name | Type | Description |
| FileData | String | Returns File data, if the LocalPath or FileStream input is empty. |
| Success | String | This value shows a boolean indication of whether the operation was successful or not. |