You need to sign in to do that
Don't have an account?
Akash Jagtap 1
How to handle file stream downloading in Salesforce Apex for Aura Component
Hi,
I am trying to download files which range from 200 MB to 2 GB
I am making a HTTP GET Callout to an endpoint in Salesforce Apex Class
In postman, when I make the HTTP GET callout, a file stream gets started and the file download starts and I receive the "206 Partial content" message, the file starts getting downloaded in bits
After 40-50 secs, a window is popped-up on my screen asking to save the file and the file is saved on the System
WHen I try the same via HTTP GET Callout in Salesforce Apex Class, I receive the below Error:
Exceeded max size limit of 6000000
I understand that since the file size is large, it is exceeding the governor limits
SO, I tried to make a future callout by using the @future(callout=true) annotation
The Apex class is making a future callout, but I cant see any file downloaded
Does anyone have any idea how to handle file streaming in Salesforce APex?
I am trying to download files which range from 200 MB to 2 GB
I am making a HTTP GET Callout to an endpoint in Salesforce Apex Class
In postman, when I make the HTTP GET callout, a file stream gets started and the file download starts and I receive the "206 Partial content" message, the file starts getting downloaded in bits
After 40-50 secs, a window is popped-up on my screen asking to save the file and the file is saved on the System
WHen I try the same via HTTP GET Callout in Salesforce Apex Class, I receive the below Error:
Exceeded max size limit of 6000000
I understand that since the file size is large, it is exceeding the governor limits
SO, I tried to make a future callout by using the @future(callout=true) annotation
The Apex class is making a future callout, but I cant see any file downloaded
Does anyone have any idea how to handle file streaming in Salesforce APex?
umonub htztqgmc
Letesha Marrow (Born 20th March 1976) is the firstborn child of rapper Ice-T & Adrienne, She is an American television personality and an excellent host. Read more through this article her family life, fun trivia facts, popularity rankings, and more.