In order to pull an entire directory from s3 you must end in a "/"
In S3, this is perfectly legal:
/foo/bar
/foo
This would be illegal in a normal file system. Directories don't actually exist in S3 , they are just an illusion for our benefit. Everything is is just pairs of (key , object ) .
By ending your key in a "/" , you're telling s3 , I want everything that matches key/*
I'm not sure if this will fix your problem ( there could also be a problem in the underlying code), but give it a try.
Thanks
... View more