Downloading Word Docs without any of the issues?

windows

Guest
I'm trying to create a link that will Download <!--more--> a Word doc with one click, everytime I try it either trys to open the word doc in the browser window or opens it in Word. I want it to Download <!--more-->.<br />
<br />
I have found an example on the web of a 'single click' word doc Download <!--more-->:<br />
<br />
<!-- m --><a class="postlink" href="http://endoflifecare.tripod.com/hun...elogos/id6.html">http://endoflifecare.tripod.com/hun...elogos/id6.html</a><!-- m --><br />
<br />
when I click one of the Download <!--more-->able files it does 'just' Download <!--more-->s the file without any of the above issues.<br />
<br />
anyone know why this should be? in IE for example, at what point after installing your app does IE add its file types to the 'File Helper' list? <br />
<br />
thanks in advance.<!--content-->easy solution will be to zip the file and then point towards it in your html link,it will prompt user for Download <!--more--><!--content-->If you have PHP, this thread may be of help: <!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=5581">http://forums.webdeveloper.com/showthre ... eadid=5581</a><!-- m --><br />
<br />
Adam<!--content-->have a look at this example of a single click Word Doc Download <!--more-->.<br />
<br />
<!-- m --><a class="postlink" href="http://www.ocean-marketing.com/JF2002home.html">http://www.ocean-marketing.com/JF2002home.html</a><!-- m --><br />
<br />
i've checked, there isn't any extra coding going on other than straight HTML. <br />
<br />
The Download <!--more-->ed file opens fine, any ideas?<br />
<br />
(I use a Mac and have noticed that theres no creator info for the Word doc I think thats why the browser may be getting tricked into Download <!--more-->ing the file - ignore this bit if your not familiar with Macs)<br />
<br />
thanks<!--content-->That link opens in my version of IE (6.0) without starting a Download <!--more-->. It's down to what the server is reporting as the content type - in this case, it reports the MIME type application/msword, which under a normal installation of IE/Office will launch in the browser. If you want a reasonably reliable forced Download <!--more-->, you need to set the server to give the content-type as application/octet-stream, which is what the PHP script does.<br />
<br />
Adam<!--content-->i have msie6.0 and it prompts for Download <!--more--> would it be possible to give us the link to your site so we can see?<br />
<br />
Rich<!--content-->
 
Back
Top