i am working on amazon s3 bucket. And i need to find a size of the folder inside a bucket through the code. I’m not finding any method to find the size of the folder directly. So is there any other way to achieve this function?
EDIT : I’m aware that there is nothing called folders in s3 bucket. But i need to find the size of all files looking like a folder folder structure. That is, if the structure is like this, https://s3.amazonaws.com/****/uploads/storeeoll48jipuvjbqufcap3p6on6er2bwsufv5ojzqnbe01xvw0fy58x65.png then i need to find the size of all files with the structure, https://s3.amazonaws.com/****/uploads/...
From AwsConsoleApp.java AWS SDK sample: