# How to get file path of selected file of file upoload component in perspective

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-file-path-of-selected-file-of-file-upoload-component-in-perspective/40342>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 5, 2020, 10:58am UTC](https://forum.inductiveautomation.com/t/how-to-get-file-path-of-selected-file-of-file-upoload-component-in-perspective/40342 "2020-11-05T10:58:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![archana.deshmukh](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@archana.deshmukh](https://forum.inductiveautomation.com/u/archana.deshmukh)\
**Post date:** [November 5, 2020, 10:58am UTC](https://forum.inductiveautomation.com/t/how-to-get-file-path-of-selected-file-of-file-upoload-component-in-perspective/40342/1 "2020-11-05T10:58:02Z")

</div>

how to get file path of selected file of ‘file upload’ component in perspective

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/c/fc7e4c5830a011b7da35363a53930bf85cb71a8b.png)

Thanks in advance…

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 5, 2020, 11:46am UTC](https://forum.inductiveautomation.com/t/how-to-get-file-path-of-selected-file-of-file-upoload-component-in-perspective/40342/2 "2020-11-05T11:46:11Z")

</div>

Browsers don’t supply the full path, presumably for security reasons. (Historically, at least some versions of IE did.) **Not** delivering the path is mandatory with current web standards. Even within the browser javascript:

[https://www.w3.org/TR/file-upload/#file-attrs](https://www.w3.org/TR/file-upload/#file-attrs)

Theoretically, Ignition’s Desktop edition could add a path attribute to that API. Don’t hold your breath waiting for it.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [November 5, 2020, 3:21pm UTC](https://forum.inductiveautomation.com/t/how-to-get-file-path-of-selected-file-of-file-upoload-component-in-perspective/40342/3 "2020-11-05T15:21:48Z")

</div>

Providing the internal path of a file to any application asking for it would be a pretty big security flaw.
