# Creation of folder to upload documents

**URL:** <https://forum.inductiveautomation.com/t/creation-of-folder-to-upload-documents/59354>\
**Category:** Ignition\
**Created:** [May 9, 2022, 12:09pm UTC](https://forum.inductiveautomation.com/t/creation-of-folder-to-upload-documents/59354 "2022-05-09T12:09:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [May 9, 2022, 12:09pm UTC](https://forum.inductiveautomation.com/t/creation-of-folder-to-upload-documents/59354/1 "2022-05-09T12:09:23Z")

</div>

hello, Somme one nkow how can I create a folder to management Document

For Exemple path like: Site1/Building/Zone2/Device1  
on folder I can upload files like pdf, excel, images

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [May 9, 2022, 12:23pm UTC](https://forum.inductiveautomation.com/t/creation-of-folder-to-upload-documents/59354/2 "2022-05-09T12:23:48Z")

</div>

The script below should work for you, just be aware that the results will vary depending on if you run this in a gateway scope or a client scope. In a gateway scope, the directory will be created on the gateway computer not the client computer and vice versa.

```auto
import os
os.mkdir('C:/Site1/Building/Zone2/Device1')

```
