Has anyone read S3 buckets as subfolders?
folder1
- subfolder2
---- file3
---- file4
- file1
- file2
folder2
- subfolder3
- file5
- file6
My task is to read the folder1. I expect to see subfolder2, file1 and file2, but NOT file3 or file4. Right now, since I'm restricting the bucket keys to the prefix => 'folder1 /', you still get files 3 and 4, since they technically have the folder1 prefix.
It seems the only way to do this is to suck all the keys in folder1, and then use a string search to actually exclude files file3 and file4 from the result array.
Does anyone have any experience? I know that S3 FTP clients such as Transmit and Cyberduck should do this, but this is not obvious from the S3 interface itself.
Thanks Conrad
I looked at both AWS :: S3 and the right ones.
source share