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
heroku1.3916784844004614E12heroku1.3916784844004614E12 

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?
Ashish_SFDCAshish_SFDC
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
http://wiki.apexdevnet.com/page/Using_Force_for_Amazon_Web_Services . 

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.

https://developer.salesforce.com/forums/ForumsMain?id=906F000000099fbIAA

Also see the thread, 

https://success.salesforce.com/answers?id=90630000000hQOZAA2


Regards,
Ashish
heroku1.3916784844004614E12heroku1.3916784844004614E12
Hi Ashish,

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


There is some Sample code here, 

http://wiki.developerforce.com/page/Using_Force_for_Amazon_Web_Services


Regards,
Ashish
Sonam MeshramSonam Meshram
Hi,
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:  https://sforce.co/34y12sL
S3-LinkS3-Link
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.
https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000CW1OXEA1

Here is our email address. Let us know if you have any query.
support@neiloncloud.com

Thanks.