athankon
07-25-2005, 10:42 AM
This is weird! :eek:
I create some links dynamically but when a file is .zip or .doc the extension of the file is displayed twice in the prompt save as OR open prompt box. When the file is then saved it gets the duplicated extension. File appears normal in HTML Source and in window Status(on MouseOver).
Code Sample:
<%
response.write "<a href=""VIEWABLE/"&replace(Server.URLEncode("CorrectionsTPH A.doc"),"+","%20")&""" >"&"CorrectionsTPH A.doc"&"</a>"
%>
I guess that this has something to do with MIME types but i dont know a way around it
Help is appreciated!!!
Thanks in advance
I create some links dynamically but when a file is .zip or .doc the extension of the file is displayed twice in the prompt save as OR open prompt box. When the file is then saved it gets the duplicated extension. File appears normal in HTML Source and in window Status(on MouseOver).
Code Sample:
<%
response.write "<a href=""VIEWABLE/"&replace(Server.URLEncode("CorrectionsTPH A.doc"),"+","%20")&""" >"&"CorrectionsTPH A.doc"&"</a>"
%>
I guess that this has something to do with MIME types but i dont know a way around it
Help is appreciated!!!
Thanks in advance