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
jg@hhsjg@hhs 

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!!

jg@hhsjg@hhs

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

 

http://docs.amazonwebservices.com/AmazonS3/latest/index.html?SOAPGetObject.html

 

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

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

 1. Create Amazon S3 file for standard Salesforce attachment through
    trigger.
 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.

https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000CW1OXEA1

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

Thanks.