Create folder using boto3 #3286
-
How can I create a folder in S3 directly from my code using boto3 ? I am developing a project where create folders and add files, and I would like to create the folder in the code and automatically create one in S3 to maintain the API structure |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @WilliamLoey thanks for reaching out. As described in this documentation S3 doesn’t technically have folders:
But you could create that folder concept for grouping objects like this:
|
Beta Was this translation helpful? Give feedback.
Hi @WilliamLoey thanks for reaching out. As described in this documentation S3 doesn’t technically have folders:
But you could create that folder concept for grouping objects like this: