amazon s3 - proper s3 directory stucture in java -
amazon s3 - proper s3 directory stucture in java -
bucket1
folder1
file1
file2
folder3
file3
folder4
file6
folder2
file4
file5
file 7
file 8
i want folder1, folder2, file7 , file8 only. how that? don't want recursive folders/files in side folder or bucket. not clear on working of marker, delimiter , prefix.
i trying:
bucketname = "bucket1"; prefix = ""; delimiter = ""; marker = ""; listobjectsrequest listobjectsrequest = new listobjectsrequest() .withbucketname(bucketname).withprefix(prefix) .withdelimiter(delimiter) .withmarker(marker) ;
as of knowledge cant this.
since there no file , folder architecture here treated object. have iterate on objects , have create own logic solution.
java amazon-s3 directory folder subfolder
Comments
Post a Comment