Forum Discussion
Jeremy_17
Oct 06, 2022Copper Contributor
Downloading a file with Rest API with size restrictions
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:
/_api/Web/GetFileByGuestUrl(@v)//OpenBinaryStream()
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?
No RepliesBe the first to reply