in reply to Forking of in web application

The Problem is that you have to tell the user when the generation of the output file is finished.

And since you can't do a server side push reliably, you should circumvent the problem on the client side by opening another window/tab or tell the user to do so manually.