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

Apex / Amazon S3 Get Object

Does anyone have any advice on downloading a "private" file stored on Amazon S3, using an Apex method?  I partially understand how to pass a an authenticated request using web services, but I don't know how to "get" the file..  Any suggestions are welcome!!


I believe this may be accomplished using authenticated SOAP, with attachments:


However, I'm still unsure as to how to make this happen within Apex, or if it is even possible..

S3- Link is FREE App for Salesforce - Amazon Connector. Its also available on Appexchange. 

 1. Create Amazon S3 file for standard Salesforce attachment through
 2. Upload attachments on Amazon S3 and create reference in Salesforc to
    access those attachments
 3. Attach file related to any Salesforce object on Amazon.
 4. Unlimited free storage.
 5. Auto backup Event logs / inbound email attachments.
 6. Server Side Encryption: AES-256
 7. No file size limit for upload.
 8. File access control capabiliy.
 9. Track file downloads by users.
 10. File exlorer capability.

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