first generate the export to a temorary file on the server and then allow to download the file when the operation is finished