# Download from page?

**URL:** <https://forum.kirupa.com/t/download-from-page/261854>\
**Category:** Uncategorized\
**Created:** [May 31, 2008, 8:40pm UTC](https://forum.kirupa.com/t/download-from-page/261854 "2008-05-31T20:40:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashjones](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@flashjones](https://forum.kirupa.com/u/flashjones)\
**Post date:** [May 31, 2008, 8:40pm UTC](https://forum.kirupa.com/t/download-from-page/261854/1 "2008-05-31T20:40:52Z")

</div>

What is the javascript that will let a user download a .doc from the webpage?

---

<div class="post-metadata">

**Author:** ![Raydred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/raydred/32/65_2.png) [@Raydred](https://forum.kirupa.com/u/Raydred)\
**Post date:** [May 31, 2008, 10:47pm UTC](https://forum.kirupa.com/t/download-from-page/261854/2 "2008-05-31T22:47:36Z")

</div>

[QUOTE=flashjones;2334146]What is the javascript that will let a user download a .doc from the webpage?[/QUOTE]

You’ll have to be more specific.

If you have the document that is accessible from the web, I would think that you could just put a html link to that. It should then prompt the user to download it to the desktop.

---

<div class="post-metadata">

**Author:** ![flashjones](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@flashjones](https://forum.kirupa.com/u/flashjones)\
**Post date:** [June 1, 2008, 12:09am UTC](https://forum.kirupa.com/t/download-from-page/261854/3 "2008-06-01T00:09:22Z")

</div>

So if it is just a word .doc that you have on the server and you want people to be able to download it by “clicking here” all you would have to do is put the link in to where it lives on the server and the people will be prompted to download it?

---

<div class="post-metadata">

**Author:** ![Raydred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/raydred/32/65_2.png) [@Raydred](https://forum.kirupa.com/u/Raydred)\
**Post date:** [June 1, 2008, 6:19am UTC](https://forum.kirupa.com/t/download-from-page/261854/4 "2008-06-01T06:19:20Z")

</div>

[QUOTE=flashjones;2334182]So if it is just a word .doc that you have on the server and you want people to be able to download it by “clicking here” all you would have to do is put the link in to where it lives on the server and the people will be prompted to download it?[/QUOTE]

Pretty much.  
There’s no need to make anything more elaborate.
