# WebDev to open File Explorer

**URL:** <https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [June 18, 2021, 7:59pm UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969 "2021-06-18T19:59:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EduardoChega](https://avatars.discourse-cdn.com/v4/letter/e/c5a1d2/32.png) [@EduardoChega](https://forum.inductiveautomation.com/u/EduardoChega)\
**Post date:** [June 18, 2021, 7:59pm UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/1 "2021-06-18T19:59:06Z")

</div>

I’m developing a view on Perspective with a table, I added to it a couple of “Download” Buttons to download documents, that’s working great, but now I want to click on a cell and open a File Explorer on an specific location, I read that WebDev is the way to go but I haven’t been able to figure out how to “Mount” the folder and then display it.

---

<div class="post-metadata">

**Author:** ![EduardoChega](https://avatars.discourse-cdn.com/v4/letter/e/c5a1d2/32.png) [@EduardoChega](https://forum.inductiveautomation.com/u/EduardoChega)\
**Post date:** [June 18, 2021, 8:44pm UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/2 "2021-06-18T20:44:49Z")

</div>

Is there a way to browse through a folder or open it with WebDev?

---

<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:** [June 18, 2021, 9:32pm UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/3 "2021-06-18T21:32:17Z")

</div>

That’s not how Webdev works.  
With Webdev, you can ‘mount’ a particular file or folder - then, when a certain URL on the gateway webserver is accessed (`http(s)://$gateway:$port/system/webdev/$project/$pathToResource`) the gateway’s webserver will return the contents of the file. In _most_ browser contexts, returning a file’s contents will trigger a request to download the file, but that’s entirely up to the browser.

In all modern browsers, you have basically no insight into the local filesystem, for very good security reasons.

---

<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 11, 2022, 3:06pm UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/4 "2022-04-11T15:06:13Z")

</div>

Split this topic on April 11, 2022, 3:06pm UTC

A post was split to a new topic: [Webdev file resource security](https://forum.inductiveautomation.com/t/webdev-file-resource-security/58302)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [April 12, 2022, 6:43am UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/5 "2022-04-12T06:43:31Z")

</div>

((hm i might have replied on the wrong topic xd))

You can install an uri (on windows) that works for browsers (not the app)  
You gotta unzip and run it (as admin) on every client pc tho

[registerExplorerURIScheme.zip](https://forum.inductiveautomation.com/uploads/short-url/pPlxsSccetxa62JGDTDVaHosx42.zip) (286 Bytes)

this one goes like so, i use the link component to open in a new tab:  
`explorer:C:\yourfile.txt`

---

<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:** [February 29, 2024, 4:56pm UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/6 "2024-02-29T16:56:30Z")

</div>

Here's a question. I was reading up on another post. I have an perspective application right, in short the webpage is used to retrieve cad files from a server and then download them to the client PC. Can I use the registerexplorerURIScheme to give the user the ability to open up the cad file with autocad?

Just how OAuth authentication works.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 1, 2024, 7:37am UTC](https://forum.inductiveautomation.com/t/webdev-to-open-file-explorer/47969/7 "2024-03-01T07:37:57Z")

</div>

Yes i bet you could. iI was able to open text and excel file np, so anything should go.  
if they install the uri on their pc, it should work the same as for

> [@victordcq](#):
>
> explorer:C:\yourfile.txt

You will have to know where they downloaded the file though, which you cant really force if they move/rename it/change the default location....

Most browsers show a popup on completing a download which would have the same behavior, so not sure if its worth installing something for this.  
If they dont have to download it, but can acces it thorugh a shared drive, then the uri would be nice though
