Downloading Word Docs link?

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/huntingtonsdiseaselogos/id6.html">http://endoflifecare.tripod.com/hunting ... s/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 />
any reason 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-->Personally I would put the Word document in a .zip file.<!--content--><p>Right click the <a href=http://www.htmlforums.com/archive/index.php/"/path/filename.doc" title="Right click the link and choose'Save file as..' from the options">document</a> link and choose "Save file as.." from the options.</p><!--content-->I think, and don't quote me on this, but they are using proprietary extensions.<br />
<br />
<!--gem:tlx.tlx.fileDownload <!--more-->--><br />
<br />
I believe that is for Front Page and only works on servers that support frontpage extensions.<br />
<br />
but like giz and DA said, best bet is to right click or make it a zip.<br />
<br />
the opening of the document is a plugin from Microsoft Word. if it is installed it does it and if it is not then you get the Download <!--more--> but what good does that do if you don't have it installed. word pad isn't very good either.<!--content-->I forgot to do my usual rant about non-portable proprietory document formats, especially ones that do not retain backward compatibility with earlier versions of the accessing program (you can't read certain office XP documents on Word 95 for example).<br />
<br />
Try to convert your document to some other non-proprietory format, or to one that at least does not require one certain piece of software available from only one vendor to access the information. Remember too that Word documents can have macro viruses inside them, so some people just will not Download <!--more--> your stuff, just in case.<!--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 />
thanks<!--content-->actually I think you can use .htaccess files to tell the borwser that the .doc files are of unknown format and it would let you Download <!--more--> them.<br />
<br />
it would be the rewrite rule let me see if I can find it.<!--content-->Originally posted by scoutt <br />
actually I think you can use .htaccess files to tell the borwser that the .doc files are of unknown format and it would let you Download <!--more--> them.<br />
<br />
it would be the rewrite rule let me see if I can find it. <br />
<br />
I don't know if your familiar with Macs or not, but I use one and the Word document that the link Download <!--more-->ed didn't have any creator id's (they're 2 four digit numbers that tell the file what app to 'belong' to). So I thought that this was why the browser was being 'tricked' into Download <!--more-->ing it not knowing it was a word file. But the file looks ok (its icon is correct) and opens ok too.<br />
<br />
does the word doc look ok? does it have a correct icon?<!--content-->that link did not Download <!--more--> for me, it opened up. I have no idea what your talking about but what was said on here is the only way unless you want to use the .htaccess file on your server.<br />
<br />
I believe this will work if you put it in a .htaccess file<br />
<br />
AddType application/zip .doc<br />
<br />
that will tell the browser that any .doc files will act like zip files an dbe Download <!--more-->ed.<!--content-->Originally posted by scoutt <br />
<br />
I believe this will work if you put it in a .htaccess file<br />
<br />
AddType application/zip .doc<br />
<br />
that will tell the browser that any .doc files will act like zip files an dbe Download <!--more-->ed. [/B] <br />
<br />
<br />
where do I put the .htaccess file?<br />
<br />
thanks<!--content-->you put it on your website in the same folder as the .doc<br />
<br />
that is if you have apache as your server or your host is running apache. .htaccess file is an extension so it actually doesn't have a name.<!--content-->
 
Back
Top