Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

downloading in Mozilla/Netscape, extension wrong

Status
Not open for further replies.

lonewolf32

Programmer
May 15, 2002
4
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top