I want to add Folder in my amazon s3 bucket using coding. Can you please suggest me how to achieve this?
The AWS:S3 rails gem does this by itself:
AWS::S3::S3Object.store("teaser/images/troll.png", file, AWS_BUCKET)
Will automatically create the teaser and images "folders" if they don't already exist.
teaser
images