Hey, I'm using Response.BinaryWrite(Buffer) to securely serve files. When I tried to serve MP3 files, they were being downloaded on IE 6 on Windows, they would be downloaded without an extension and name. So I added:
Code:
Response.Addheader("Content-Disposition", "attachment; filename=" & getFile)
where getFile is the name of the file being served.
But in FireFox, it still downloads the file as "01" with no extension. Anyone know what I can add to make FireFox know that the binarystream being downloaded is an MP3? Thanks.
|