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

Upload large files to S3 server

I want to upload large files to S3 server from visualforce page. How can we achieve this? Now I am able to upload small files. Any help?
Hi , 

Uploading documents DIRECTLY to S3 in a secure fashion is easy: Amazon S3 supports uploading the documents directly to S3 via HTTP POST as described in . 

This also allows for large attachments to be sent directly to S3 without involving salesforce as intermediary and gets around the SOAP/REST limits of 3 MB.

Also see the thread,

Hi Ashish,

Is it possible to upl
oad upto 10 MB file? Can you send the code samples?
Hi , 

There is some Sample code here,

Sonam MeshramSonam Meshram
I came across the newly developed app in AppExchange named Drag, Drop & Upload Files to Amazon S3 for this.Am using the same and its very easy to use and having advanced features like you can delete/view your files from salesforce, and also provide some additional customization .

If you have been using Salesforce for any length of time, you have probably wanted to attach large and multiple files at one time. Now you can! In standard salesforce, you can attach and only upload files up to 25MB size one at a time.

This App provides you the facility to associate multiple files to a record in one go and without any size restriction.
Please have look:
S3- Link is FREE App for Salesforce - Amazon S3 Connector. Its also available on Appexchange. 
  1.     Attach file related to any Salesforce object on Amazon S3.
  2.     Move existing Salesforce files and attachments in Amazon S3
  3.     Multiple file uplaod.
  4.     No file size limit for upload.
  5.     File access control capabiliy.
  6.     Track file downloads by users.
  7.     File exlorer capability.

Here is our email address. Let us know if you have any query.