AWS S3 - How to wait until entire directory is accessible after uploading it?

Viewed 830

In AWS docs there's this example:

http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-s3.html#uploading-a-file

It shows how can we wait until the object is accessible after uploading it. Now I'd like to wait until entire directory accessible after uploading it with uploadDirectory method. I don't think it's a good idea to poll for each file in a directory as this would be a lot of requests and it would probably be slow.

Is there a way to put an entire manifest of files that should be accessible in a single poll request?

2 Answers
Related