# Need access to file path for wicket upload page

**URL:** <https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335>\
**Category:** 3rd Party Modules\
**Created:** [May 17, 2017, 11:09pm UTC](https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335 "2017-05-17T23:09:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![todd.johnston](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@todd.johnston](https://forum.inductiveautomation.com/u/todd.johnston)\
**Post date:** [May 17, 2017, 11:09pm UTC](https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335/1 "2017-05-17T23:09:45Z")

</div>

Hi, I’m developing a feature that is accessed from the Gateway via Wicket pages. The current problem is we are using Wicket based web pages and leveraging the FileUploadField and FileUpload classes. I am able to access the file using the FileUpload.getFileUpload() however I am unable to get to the files absolute path which is needed. I was wandering if anyone can enlighten me as to how this is done on the wicket pages for the Backup/Restore for the “Choose File” on the Restore tab. - Thanks

---

<div class="post-metadata">

**Author:** ![todd.johnston](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@todd.johnston](https://forum.inductiveautomation.com/u/todd.johnston)\
**Post date:** [May 17, 2017, 11:25pm UTC](https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335/2 "2017-05-17T23:25:40Z")

</div>

Addendum: In taking a look, perhaps a more direct approach if there was a pure file chooser component for wicket pages

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 18, 2017, 1:42pm UTC](https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335/3 "2017-05-18T13:42:20Z")

</div>

If you’re developing for 7.9+, you might look at using React instead. We’re gradually moving all the pages over to React and plan to phase out Wicket all together in future versions of Ignition. The [Home Connect example](https://github.com/inductiveautomation/ignition-sdk-examples/tree/master/home-connect-example) in the SDK shows some basic react pages in Igntion.

---

<div class="post-metadata">

**Author:** ![abishur](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/abishur/32/9096_2.png) [@abishur](https://forum.inductiveautomation.com/u/abishur)\
**Post date:** [May 18, 2017, 2:15pm UTC](https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335/4 "2017-05-18T14:15:50Z")

</div>

Man, when I read examples like that I often wish there was a non-commercial license for Ignition that let me use it for my home project, but was stripped of maybe the more scada focused features.

---

<div class="post-metadata">

**Author:** ![todd.johnston](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@todd.johnston](https://forum.inductiveautomation.com/u/todd.johnston)\
**Post date:** [May 18, 2017, 3:04pm UTC](https://forum.inductiveautomation.com/t/need-access-to-file-path-for-wicket-upload-page/14335/5 "2017-05-18T15:04:17Z")

</div>

Thanks Kathy, I’ll check it out!
