Is there any API call supported by Amazon to upload a file to multiple folders at one go?

I have one bucket called 'TEST' and within that bucket I have multiple folders '1000', '2222', so I need to upload the file to both the folders.

Any thoughts?

Thanks /Roshan

  • 1
    I think you have more chance of getting solution for this question on stackoverflow than stackexchange salesforce.Amazon community may help as well Aug 13, 2013 at 10:47

1 Answer 1


AFAIK, all of the S3 API operations only apply to a single object/bucket/key. Therefore, to upload to multiple "folders" you will need to do multiple operations. S3 does support a "copy object" operation that will be much more efficient for your second call.

Salesforce supports up to 10 outbound web service callouts per request, so this approach should work fine unless you are trying to upload to more than 10 keys in a single request.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .