Classic asp code to download a file
Here is a better solution that uses server-side ASP to send the file. You will need to split your code over two pages. Your current script should be replaced with This code I put together from both questions on this site (How to download the files using vbscript in classic asp), and from http://support.microsoft.com/kb/