function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chanchal_:)chanchal_:) 

How to increase limit in vf page using APEX:inputFIle to 100-150 MB


We have a requirement to upload file using vf page. We used APEX:FileInput that is throwing us limit of 20 MB only. Is there a way to upload file more than 20 MB using vf page ?
VinayVinay (Salesforce Developers) 
Hi Soni,

You can check below references to upload a file more than 20MB.

https://www.preliotech.com/post/upload-a-file-as-large-as-2gb-in-salesforce-using-a-visualforce-page
https://salesforce.stackexchange.com/questions/7800/loading-files-greater-than-5m-using-vf-page
https://developer.salesforce.com/forums/?id=9062I000000R0KbQAK

Please mark as Best Answer if above information was helpful.

Thanks,