Amazon S3的博托 - 如何创建一个文件夹? [英] Amazon S3 boto - how to create a folder?
问题描述
如何创建下使用博托
库Amazon S3的桶文件夹?
How can I create a folder under a bucket using boto
library for Amazon s3?
我跟着手册,并创建了许可,元数据等的钥匙,但博托文档中没有它描述的是如何在一个桶中创建文件夹,或在斗下创建文件夹的文件夹。
I followed the manual, and created the keys with permission, metadata etc, but no where in the boto's documentation it describes how to create folders under a bucket, or create a folder under folders in bucket.
推荐答案
目前处于S3文件夹或目录的概念。您可以创建文件的名称,如ABC / XYS / UVW / 123.jpg,这就像S3Fox很多S3访问工具显示类似于目录结构,但它实际上是在一个桶只是一个单一的文件。
There is no concept of folders or directories in S3. You can create file names like "abc/xys/uvw/123.jpg", which many S3 access tools like S3Fox show like a directory structure, but it's actually just a single file in a bucket.
这篇关于Amazon S3的博托 - 如何创建一个文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!