How to get updated list of AWS S3 bucket contents

2019-08-08 07:28发布

问题:

I have https://github.com/CollectionFS working well with the S3 storage adaptor.

If files can be added to the S3 bucket by other means (external to this application), those files do not exist in my collection.

It seems that my only alternative is to start from scratch and build something which regularly polls AWS to get an updated list of files but this feels like a bit of a nightmare with authenticated AWS urls etc.

Am I missing an easier way to achieve this?

Thanks!