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
Parbati Bose 6Parbati Bose 6 

how to upload multipart file to aws s3 bucket in using apex

Hello everyone 

I need some help for uploading large files into s3 bucket. 

I need to be able to split a blob and upload it to aws s3 bucket using Http PUT operation. I am able to do that upto 12 MB file in a single upload because that is the request body size limit in Apex .
So i need to be able to upload using multipart operation. I noticed s3 allows to upload in parts and gives back a uploadId. wondering if anyone has already done this before in salesforce apex code. it would be grewatly appreciated.

Thanks in advance
Parbati Bose.
Anandhakumar T 4Anandhakumar T 4
Hi Pabati,

Did you got the solution for the above scenario. We're also in the same stage so it will be really helpful if you share your overcomes on this.

Thanks,
Anandh