Reply To: Bucket policy and access
June 23, 2020 at 9:12 pm Reply
Support Manager
Hmm, not off the top of my head. I’m not sure if Amazon S3 has an API endpoint for retrieving that kind of data, but you might be able to query all the files in a bucket and keep a running total of their file size. For local files, you could use something like PHP’s filesize()
function, and keep a running total of those as well. SyncS3 doesn’t provide this data by default, so this would require a custom solution.