DownloadDocument
Downloads a document from the SharePoint library.
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'. |
Library | String | False | The name of the library on the SharePoint server. |
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 document. 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 file content. Only returned if File and FileStream is not set. |