Ajax to download a file

Hi

I would like to download a file in an asynchronous manner. From what I
have read, I should be using a hidden iframe. How do I connect the AJAX
request to the iframe to display the file?

Thanks