Downloading a file with Rest API with size restrictions

Occasional Visitor

Hey all,


I'm writing some code within Salesforce Apex to download a file from SharePoint. I can get it working fine with the following url: 

The issue is there are size limits in Salesforce for Http requests (6mb). Is there a way with OpenBinaryStream, or an equivalent REST call to download a file in chunks with some sort of paging?
0 Replies