Create folder using boto3 #3286
Answered
by
tim-finnigan
WilliamLoey
asked this question in
Q&A
|
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 |
Answered by
tim-finnigan
Jun 6, 2022
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: |
1 reply
Answer selected by
tim-finnigan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: