June 27th, 2001, 12:29 AM
I'm trying to create a link to download document template (with .dot extension), with the click on the link save the file on the local computer, as follows:
<a href="ftp://somewhere/file.dot">document template</a>
when the link is clicked, the content of the file is displayed on the browser instead of saving the file. What's wrong?
June 27th, 2001, 03:23 AM
Plugins override downloads.
So what does this mean? Well, since your browser recognizes the .dot extension it will show the document in your browser window instead of allowing you to download it.
Workaround is creating a zip file.
You can even leave out the ftp part.
A normal <A HREF="doctemp.zip">Template</A> should work.
June 28th, 2001, 04:24 PM
just a thought...
You could always specify in the instructions to right-click over the <a href="template.dot">Template</a> link and select 'Save Target As', which will save the file to a specified location on the client's machine.
June 29th, 2001, 12:38 AM
Thanks phreq. That's a good idea!