# force file to download and not open

**URL:** <https://forum.xojo.com/t/force-file-to-download-and-not-open/47160>\
**Category:** Web\
**Created:** [January 29, 2019, 9:33am UTC](https://forum.xojo.com/t/force-file-to-download-and-not-open/47160 "2019-01-29T09:33:42Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Daniel\_Taylor](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/2bfe46/32.png) [@Daniel\_Taylor](https://forum.xojo.com/u/Daniel_Taylor)\
**Post date:** [February 3, 2019, 9:13pm UTC](https://forum.xojo.com/t/force-file-to-download-and-not-open/47160/21 "2019-02-03T21:13:54Z")

</div>

> [@423626:@Russ Lunn](#):
>
> It seemed to work! Now instead of opening in the same tab it downloads and opens in adobe on the desktop. I think that is something in Windows 10 though. Perhaps Im wrong.

Windows 10 or the browser. Safari, for example, has an “open safe files after downloading” preference.

---

<div class="post-metadata">

**Author:** ![Russ\_Lunn](https://forum.xojo.com/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@Russ\_Lunn](https://forum.xojo.com/u/Russ_Lunn)\
**Post date:** [February 4, 2019, 4:55pm UTC](https://forum.xojo.com/t/force-file-to-download-and-not-open/47160/22 "2019-02-04T16:55:07Z")

</div>

hurray @Daniel Taylor !

chrome has a checkbox that says always open files after downloading, you cannot see this though as the files download too fast  
and there is no way to deselect it from the settings. you have to hand-edit the preferences file and switch it off.

but now it downloads the files as expected.

thankyou for your help everyone.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 7:32pm UTC](https://forum.xojo.com/t/force-file-to-download-and-not-open/47160/23 "2020-10-29T19:32:28Z")

</div>



[Previous page](https://forum.xojo.com/t/force-file-to-download-and-not-open/47160.md?page=1)
