Thread: download link
Results 1 to 5 of 5
What's the HTML code to download a pdf from a link Forum: HTML ForumReplies: 4
how do you make a download link? Forum: HTML ForumReplies: 5
how do i zip for download link? Forum: HTML ForumReplies: 5
Download link help please Forum: HTML ForumReplies: 10
How to Insert a Link That Will Download a File Forum: HTML ForumReplies: 2
04-22-2003, 05:38 AM #1
I have put on my site some MS Word documents which can be downloaded. I have put the simple link to these files and then when clicked on they do open in the browser window and then can be saved as a normal MS Word document. Is there some HTML code that I would put into the link code so the MS Word file would get directly downloaded without any opening it in a browser window?
04-22-2003, 07:23 AM #2
Do you mean it would be downloaded automatically? Or saveable via right-click "save as"?
04-22-2003, 07:48 AM #3
Android's question is the answer. Any text file will open in the browser usually. One option is to save each word file as a zip archive, but this means zipping each file and uploading and is only useful if the file sizes are large and the user has a zip extractor installed if not using XP or 2k. I suppose you could make them self-extracting zips. Easiest thing to do is to inform the user to right click and save the file to disk.
04-22-2003, 07:59 AM #4Originally posted by sonofmidi
Android's question is the answer.
04-22-2003, 08:44 AM #5
Or simply rename it to .zip and tell the user to rename it back to the real (.ext) after download. That is, until the browsers begin checking inside those files to see if they really are files matching their indicated extension.