Add folder in Amazon s3 bucket

前端 未结 16 1585
青春惊慌失措
青春惊慌失措 2021-02-06 23:34

I want to add Folder in my amazon s3 bucket using coding. Can you please suggest me how to achieve this?

16条回答
  •  南旧
    南旧 (楼主)
    2021-02-06 23:58

    There are no folders in Amazon S3. It just that most of the S3 browser tools available show part of the key name separated by slash as a folder.

    If you really need that you can create an empty object with the slash at the end. e.g. "folder/" It will looks like a folder if you open it with a GUI tool and AWS Console.

提交回复
热议问题