I am trying to upload a video file to S3 bucket using the PHP-SDK and a multipart upload. I managed to make it work via ajax already, but I want to know how to calculate and return the progress? I did a lot of research already but have not found any solutions yet.

Any help highly appreciated.