# Create Folder and upload a file with minimal scripting

**URL:** <https://forum.inductiveautomation.com/t/create-folder-and-upload-a-file-with-minimal-scripting/59890>\
**Category:** General Discussion\
**Tags:** scripting, perspective\
**Created:** [May 23, 2022, 5:50am UTC](https://forum.inductiveautomation.com/t/create-folder-and-upload-a-file-with-minimal-scripting/59890 "2022-05-23T05:50:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [May 23, 2022, 5:50am UTC](https://forum.inductiveautomation.com/t/create-folder-and-upload-a-file-with-minimal-scripting/59890/1 "2022-05-23T05:50:41Z")

</div>

Hi folks,  
I am trying to create a view in which user should have the capability to create a folder, upload and download the files.  
Is there any simpler way to create this with minimal scripting?

---

<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:** [May 23, 2022, 12:07pm UTC](https://forum.inductiveautomation.com/t/create-folder-and-upload-a-file-with-minimal-scripting/59890/2 "2022-05-23T12:07:47Z")

</div>

All of those tasks must be scripted. Either you have working code or not working code. No such thing as “minimal”.

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [May 23, 2022, 12:26pm UTC](https://forum.inductiveautomation.com/t/create-folder-and-upload-a-file-with-minimal-scripting/59890/4 "2022-05-23T12:26:59Z")

</div>

Hi sir,  
Is it possible to create these functionalities without webdev module?

---

<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:** [May 23, 2022, 12:36pm UTC](https://forum.inductiveautomation.com/t/create-folder-and-upload-a-file-with-minimal-scripting/59890/5 "2022-05-23T12:36:07Z")

</div>

Yes, the file upload component is native to Perspective, and the `system.perspective.download()` native Perspective function can be used in a script action to initiate downloads. If you wish to **display** files in image components, PDF viewers, et cetera, and they really are files on the server, you need the WebDev module. If you store the files in blob columns of your database, you can use my free Blob Server module:

> [@Automation Professionals' Blob Server Module](https://forum.inductiveautomation.com/t/automation-professionals-blob-server-module/57970):
>
> Automation Professionals is pleased to announce an alpha release of its new Blob Server Module. Available only for Ignition v8.1, here. The Blob Server Module provides a simple way to deliver images, PDF files, or other binary content from a database to your Perspective clients or other web applications. Without needing the WebDev module. All you need is a Named Query that has appropriate security settings and returns a single row with two columns: Content, and ContentType. Modest documentati…
