Skip to content
Advertisement

Uploading folder from local system to a perticular folder in S3

What should I change in my code so that I can upload my entire folder from local system to a particular folder present in my s3 bucket.

JavaScript

Advertisement

Answer

You are not using your bucket_folder at all. This should be the beginning of your S3 prefix as in the S3 there are no folders. Its all about key names and prefixes.

So it should be something as the following:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement