# Directory Brwoser/file picker

**URL:** <https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839>\
**Category:** Ignition\
**Created:** [May 11, 2010, 5:55pm UTC](https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839 "2010-05-11T17:55:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 11, 2010, 5:55pm UTC](https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839/1 "2010-05-11T17:55:48Z")

</div>

I am building up a PM system to go along with with the data collection we are surrently doing.

What I’d like to do is this: as the info for a PM is being entered, I’d like to have the option of being able to upload the work instruction to the gateway server. I’m not looking to store anything in the databse except a link pointing to where I stuck the file when I uploaded it.

I can move the files around using ftplib-- haven’t actually done it yet, but the library’s there, so I know I can do that part. ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")

So, is there a gui-ish file picker available? It’d be nice to have the people in charge of developing the PM’s to be able to upload it from ther own machines instead of bothering-- uhh… requesting-- me to do it for them…

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 11, 2010, 6:09pm UTC](https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839/2 "2010-05-11T18:09:42Z")

</div>

Yes, system.file.openFile brings up a file picker and returns the path of the file selected or None if cancelled.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 11, 2010, 6:24pm UTC](https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839/3 "2010-05-11T18:24:48Z")

</div>

I can’t believe the things I miss… I’ll chalk it up to a senior moment. That way, when I become a senior, they’ll all be used up and I’ll be good to go! ![:mrgreen:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/d23659b203d2d24d394be983a52adb2fa6fe23d4.gif "Mr. Green")

Thanks, Travis. Still my hero! 😆

---

<div class="post-metadata">

**Author:** ![rcorkern](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rcorkern](https://forum.inductiveautomation.com/u/rcorkern)\
**Post date:** [March 21, 2013, 4:36pm UTC](https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839/4 "2013-03-21T16:36:39Z")

</div>

Path to the selected file - where is it returned to?

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [March 21, 2013, 4:46pm UTC](https://forum.inductiveautomation.com/t/directory-brwoser-file-picker/1839/5 "2013-03-21T16:46:48Z")

</div>

The path is returned as a result of running the function:

`path = system.file.openFile()
print path`
