Amazon Web Services (AWS) S3 Java create a sub directory (object)

前端 未结 6 1203
孤城傲影
孤城傲影 2021-01-31 17:24

I am familiar with AWS Java SDK, I also tried to browse the corresponding Javadoc, but I could not realize how do I create a sub directory, i.e., a directory object within a buc

6条回答
  •  北海茫月
    2021-01-31 18:00

    if You want to create folder then you need to use put command using following keys to create folder1 in:

    in root of bucket -> folder1/folder1_$folder$

    in path folder2/folder3/ -> folder2/folder3/folder1/folder1_$folder$

    It is always all_previous_folders/folderName/folderName_$folder$

提交回复
热议问题