You might want to download files to a local system from a library item and then make changes to the files before you use them.
Procedure
- Create a download session model to specify the item, which contains the file that you want to download.
- Access the File service and retrieve the file that you want to export to your system within the new download session.
- Prepare the files that you want to download and wait until the files are in the prepared state.
- Retrieve the download endpoint URI of the files.
- Download the files with an HTTP GET request.
- Delete the download session after all files are downloaded.