Old 20-04-2007, 09:33   #1 (permalink)
ozziecat
Registered User
 
Join Date: Apr 2007
Location: Sweden
Posts: 8
Downloads

Hi

I've made a link for downloading a pdf file in IE 6 the pdf doesn't download and it turns up in the same window.

this is the code.
<a href="downloads/artikel_dagens%20medicin.pdf">Ladda ner artikeln som pdf. </a>

In safari this code is works fine but apperently not on exploerer ( at least no 6).

Another problem I have is that en eps.file changes to a postscript file after downloading.

Does anyone has an answer to this would be great!

Thanks

OC
  Reply With Quote
Old 20-04-2007, 10:07   #2 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
eps is postscript, most people won't have a viewer for it.

if you want to ensure content gets downloaded rather than opened in the browser you need to set the content-type to application/octet-stream either within your script (php/asp/etc), or on the server (apache/iis/etc)
__________________
George Smith - a vain attempt to get higher on google for my name

  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8