# HTTP Server - SimpleHTTPServer

**URL:** <https://forum.inductiveautomation.com/t/http-server-simplehttpserver/37873>\
**Category:** Ignition\
**Created:** [August 18, 2020, 6:32pm UTC](https://forum.inductiveautomation.com/t/http-server-simplehttpserver/37873 "2020-08-18T18:32:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinel3746](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@martinel3746](https://forum.inductiveautomation.com/u/martinel3746)\
**Post date:** [August 18, 2020, 6:32pm UTC](https://forum.inductiveautomation.com/t/http-server-simplehttpserver/37873/1 "2020-08-18T18:32:42Z")

</div>

I would like to provide a WebDev API call that would act as an HTTP server to display files on the server where Ignition is running.  
I’m not allowed to purchase Perspective or Vision so I would like to use the WebDev module.

In particular something as simple as a browser interface like:

```auto
file:///D:/Images/

```

Currently, to see the images (we have millions of them), users (quality engineers, etc.) need to specify a Part Number, Lot Number and a range then IT has to use an Admin account and copy them to another location, (typically 3000+ images in a production lot).

I’ve looked at SimpleHTTPServer and am wondering if anyone has examples of using it or if there are other better solutions. It seems there would be a simple way to use a WebDev GET API to do this but I’m at a loss.

---

<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:** [August 18, 2020, 6:58pm UTC](https://forum.inductiveautomation.com/t/http-server-simplehttpserver/37873/2 "2020-08-18T18:58:57Z")

</div>

WebDev has a concept of ‘mounted folders’. Every file within the mounted folder is automatically visible at its corresponding path.

---

<div class="post-metadata">

**Author:** ![martinel3746](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@martinel3746](https://forum.inductiveautomation.com/u/martinel3746)\
**Post date:** [August 19, 2020, 10:09pm UTC](https://forum.inductiveautomation.com/t/http-server-simplehttpserver/37873/3 "2020-08-19T22:09:28Z")

</div>

Thank you @paul-griffith.  
I was able to get the Mounted Folder to work but only for a single folder and file.  
It seems to be limited to a single folder and the file name of the image needs to be included in the URL - using just the folder name results in a 404 error.  
I was hoping for functionality that would give a user rudimentary navigation up and down a directory structure to select a folder and image to view.

See: Ticket ID: 128390

---

<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:** [August 19, 2020, 11:43pm UTC](https://forum.inductiveautomation.com/t/http-server-simplehttpserver/37873/4 "2020-08-19T23:43:28Z")

</div>

Then as things stand you would need to implement your own directory walking using Python resource handler(s). We’re unlikely to expose an automatic index - both possible performance problems and possible security problems could result.
