AmazonS3RequestManager
AmazonS3RequestManager copied to clipboard
S3BucketObjectList when using a delimiter doesn't extract the files correctly.
S3BucketObjectList
Currently uses this method to parse the files:
parseContents(xml["ListBucketResult"]["Contents"])
However, if you use a delimiter your results are here:
xml["ListBucketResult"]["CommonPrefixes"]
Therefore, if i've understood it correctly, using a delimiter with the current library doesn't return any results.
In my case it's a folder containing other folders, not files.
It may well be that:
parseContents(xml["ListBucketResult"]["Contents"])
Does actually work for files & my use case of listing folders isn't appropriate for this method.
Thanks, I can look into this when I get some time, but if you have a fix, I'd appreciate a PR!