Click here to Skip to main content
15,846,976 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How can we upload multiple files in AWS S3 bucket at the same time in a specific folder location.

What I have tried:

I am able to do a single file upload, but all files upload from that folder in one go, I have not got a solution yet.
Updated 27-Oct-23 6:27am

1 solution

You can't do this directly via the AWS HTTP calls in C# using the AWS SDK right now. If you're using the AWS SDK, you are going to have to iterate over your files and upload them one of a time. If you were using the AWS CLI, you could use that to copy the files in one go. Alternatively, if you were using the Java SDK, you could use the MultiFileUpload capability, but that doesn't exist in the current AWS SDK for C#.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900