Hi Denis,

I'm able to achieve what I think you're after with the following:

I get the bucket contents with a non-recursive ls call -
aws s3 ls s3://hcp-openaccess --profile USER

Then I'm able to do a recursive listing akin to what you did but with the 
subdirectory -
aws s3 ls s3://hcp-openaccess/HCP_900 --recursive --human-readable --summarize 
--profile USER

I'm not sure why we can't do a recursive listing of the bucket root. I'll have 
to consult our sysadmin on that one. Are you getting the error "A client error 
(AccessDenied) occurred when calling the ListObjects operation: Access Denied"?

Best,
Michael

________________________________
The materials in this message are private and may contain Protected Healthcare 
Information or other information of a sensitive nature. If you are not the 
intended recipient, be advised that any unauthorized use, disclosure, copying 
or the taking of any action in reliance on the contents of this information is 
strictly prohibited. If you have received this email in error, please 
immediately notify the sender via telephone or return mail.

_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to