I don't believe that it is possible to return a file to the browser and simultaneously redirect or refresh the web page. Note that the browser is occupied interacting with the user to download the file, so it is not listening for other instructions.
However, if anyone out there knows how to do something like this, I would also appreciate hearing how it can be done.
However, if anyone out there knows how to do something like this, I would also appreciate hearing how it can be done.