Multi-threading help

Hi there, I am in the process of writing an application to download remote media from a webserver via FTP.

I have an ajax call to a php file that will download the content and set the current download percentage as a $_Session variable.

I then have another ajax call checking this ever few seconds. Unfortunately even though this works perfectly fine in chrome, I am unable to get this working with ExeOutput. Whilst the file is downloading the entire application locks up. I have tried other methods (flush etc…) but It’s the same result. ExeOutput will not do anything whilst that file is downloading.

Is there any workout for this?


What do you use to trigger the AJAX call? Is it a link or something attached to the UI?