Could not find a way to create folder in S3 bucket
HI,
There is no way available to create folder in Amazon S3
Please suggest.
Hi,
First S3 is not file System.
However, you can use prefix of the key of the objects to organize and browse them hierarchically, similar to how a file system organizes files into directories.
For more information, you can read the Documentation of listObjects in http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/index.html
Hope it helps,
Thanks,
Yifei
Amazon S3 doesn't have the concept of Folder and File, for it, everything is considered a resource. If you just put a resource on the location /
Here is a code snippet to spark your imagination:
Object metadata = new ObjectMetadata();
metadata.setContentType("binary/octet-stream");
amazonS3Client.putObject("
You have created a folder...
I think this one can be closed out. Just browsing tickets; I'm not an admin nor moderator.
+1 for closing