DownloadAttachment
Downloads a document from the SharePoint list.
Input
Name | Type | Accepts Output Streams | Description |
File | String | False | The path of the file to be saved including the new filename. For example, 'C:/Users/User/Desktop/DownloadedFile.txt'. |
RemoteFile | String | False | The path of the file on the server. This can be the full URL or simply the file name. If you use the name of the file, the latest version will be downloaded. |
FileStream | String | True | OutputStream to write the downloaded attachment. Only returned if File is not set. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation was successful or not. |
FileData | String | The downloaded BASE64 encoded file content. Only returned if File and FileStream is not set. |