# Force download a file

**URL:** https://community.homey.app/t/force-download-a-file/122246
**Category:** Developers
**Created:** [December 1, 2024, 12:39pm UTC](https://community.homey.app/t/force-download-a-file/122246 "2024-12-01T12:39:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![s\_dimaio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/s_dimaio/32/78995_2.png) [@s\_dimaio](https://community.homey.app/u/s_dimaio)
#### Post date: [December 1, 2024, 12:39pm UTC](https://community.homey.app/t/force-download-a-file/122246/1 "2024-12-01T12:39:47Z")

</div>

Hi all, from the settings page what is the best way to force download a file saved in the “userdata” folder?

Tks

Simone

---

<div class="post-metadata">

### Author: ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)
#### Post date: [December 3, 2024, 9:47am UTC](https://community.homey.app/t/force-download-a-file/122246/2 "2024-12-03T09:47:47Z")

</div>

I don’t think it’s possible from device settings page (if you meant that).  
But it should be possible from app settings page pr repair view as they are html pages you can implement on your own.

---

<div class="post-metadata">

### Author: ![s\_dimaio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/s_dimaio/32/78995_2.png) [@s\_dimaio](https://community.homey.app/u/s_dimaio)
#### Post date: [December 3, 2024, 9:01pm UTC](https://community.homey.app/t/force-download-a-file/122246/3 "2024-12-03T21:01:33Z")

</div>

Hi Ronny, I confirm that I was talking about the app settings. I don’t know if it’s the most correct method but for now I solved it using the Homey.openURL method and passing the Homey IP address + the physical path of the file to download.
