# How to save the uploaded file in default image folder (/system/images/)?

**URL:** <https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [March 3, 2020, 3:47pm UTC](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771 "2020-03-03T15:47:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 3, 2020, 4:05pm UTC](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771/3 "2020-03-03T16:05:19Z")

</div>

Or you could use this other "unsupported" avenue:

> [@File Upload Perspective](http://forum.inductiveautomation.com/t/file-upload-perspective/25797/2):
>
> upload\_path = 'webserver/webapps/main/' system.util.getLogger('FILEUPLOAD').info('Uploading: \'{0}\' to directory \'{1}\''.format(event.file.name, upload\_path)) event.file.copyTo(upload\_path + event.file.name) will place a file directly into the Inductive Automation\ignition\webserver\webapps\main directory of your Gateway. Assuming you upload a file to that destination, you can then locate that file (in the same script) with system.file.fileExists(upload\_path + event.file.name) If you were …

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-save-the-uploaded-file-in-default-image-folder-system-images/32771)._
