I work with the MS IIS Web Server and I'm trying to do a script (in VB5) to send a byte stream to be downloaded on the client browser.
Actually, after the user authentication, this script reads a file in a not shared folder (for security reasons) then it sends the contents to the client.
I’m sending the mime header "content-type: application/octet-stream" so I can send any kind of data to be downloaded. The problem is: how to name the file that will be downloaded? The browser seems to name the file with the name of the script. I wish to instruct the browser to name the file with the original name.