# Is there a way to download a file from the server that Ignition resides on

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [April 15, 2024, 4:29pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835 "2024-04-15T16:29:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Villasenor\_Es](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/miguel_villasenor_es/32/60416_2.png) [@Miguel\_Villasenor\_Es](https://forum.inductiveautomation.com/u/Miguel_Villasenor_Es)\
**Post date:** [April 15, 2024, 4:29pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835/1 "2024-04-15T16:29:13Z")

</div>

I was looking at this old post: [Is there a way to download a file from the Ignition Server via Project?](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-ignition-server-via-project/15727)

One of the guys in the forumn mentioned that you can place a file in the **\webserver\webapps\main** and it should be accessible to the clients. The forum was left without a solution, as of writing this, but if that's still a posiblity am I using **system.perspective.download()** to download the file? What string would I input to download the file?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 15, 2024, 4:31pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835/2 "2024-04-15T16:31:13Z")

</div>

You would use a navigation action or script to open the download link in a new tab, and the user agent (web browser, mobile app, workstation) will automatically download it.

However, don't do this - the webserver/webapps hosting "solution" basically only works by accident, has problems on Windows, and is not a particularly efficient way to host files. What are the file(s) you're hosting, about how big are they, and do you need them to be updated dynamically?

---

<div class="post-metadata">

**Author:** ![Miguel\_Villasenor\_Es](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/miguel_villasenor_es/32/60416_2.png) [@Miguel\_Villasenor\_Es](https://forum.inductiveautomation.com/u/Miguel_Villasenor_Es)\
**Post date:** [April 15, 2024, 4:32pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835/3 "2024-04-15T16:32:40Z")

</div>

Ok thanks! What if the file to download resides on the **C** drive in a random folder? Would that work?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 15, 2024, 4:35pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835/4 "2024-04-15T16:35:31Z")

</div>

> [@paul-griffith](#):
>
> However, don't do this ...

It seems pretty clear to me!

---

<div class="post-metadata">

**Author:** ![Miguel\_Villasenor\_Es](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/miguel_villasenor_es/32/60416_2.png) [@Miguel\_Villasenor\_Es](https://forum.inductiveautomation.com/u/Miguel_Villasenor_Es)\
**Post date:** [April 15, 2024, 4:35pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-download-a-file-from-the-server-that-ignition-resides-on/88835/5 "2024-04-15T16:35:31Z")

</div>

Never mind I found the documentation!
