lonewolf32
Programmer
Hi,
My ASP script downloads a file... works fine in IE, but in Mozilla/Netscape it adds on the wrong extension. For example if downloading the file "file.txt" it names it "file.txt.asp" on my machine (In the Save dialog). If you change it in the Save dialog to "file.txt" everything works fine. Plus I set the Content Type for each individual extension (zip/pdf/doc, etc.) and use octet-stream for any unknown extension.
But something just blew me away. I always thought the ASP extension was there because it was an ASP web page generating the file download. But another person here using Netscape 7 downloaded the file and it named itself "file.txt.c"!!
Can anyone explain why this is?
And I know this is an age old issue, but is there a way to get the extension to display properly in Mozilla/Netscape?
Thanks,
Dave
My ASP script downloads a file... works fine in IE, but in Mozilla/Netscape it adds on the wrong extension. For example if downloading the file "file.txt" it names it "file.txt.asp" on my machine (In the Save dialog). If you change it in the Save dialog to "file.txt" everything works fine. Plus I set the Content Type for each individual extension (zip/pdf/doc, etc.) and use octet-stream for any unknown extension.
But something just blew me away. I always thought the ASP extension was there because it was an ASP web page generating the file download. But another person here using Netscape 7 downloaded the file and it named itself "file.txt.c"!!
Can anyone explain why this is?
And I know this is an age old issue, but is there a way to get the extension to display properly in Mozilla/Netscape?
Thanks,
Dave