# getFolder without folder picker

**URL:** <https://forums.creativeclouddeveloper.com/t/getfolder-without-folder-picker/3132>\
**Category:** UXP Plugin API\
**Tags:** javascript\
**Created:** [June 21, 2021, 12:14pm UTC](https://forums.creativeclouddeveloper.com/t/getfolder-without-folder-picker/3132 "2021-06-21T12:14:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mateszkom](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/mateszkom/32/1580_2.png) [@mateszkom](https://forums.creativeclouddeveloper.com/u/mateszkom)\
**Post date:** [June 21, 2021, 12:14pm UTC](https://forums.creativeclouddeveloper.com/t/getfolder-without-folder-picker/3132/1 "2021-06-21T12:14:20Z")

</div>

I’m using File → Generate → Image Assets and I want to access “[filename]-assets” folder without any folder picker to rename images.  
Can I do that? I have path in a variable but I have no idea whats next.

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [June 21, 2021, 1:44pm UTC](https://forums.creativeclouddeveloper.com/t/getfolder-without-folder-picker/3132/2 "2021-06-21T13:44:40Z")

</div>

No; outside of the `plugin-data://` or `plugin-temp://` folder, you have to display a picker so that the user (& OS) grants access to the folder to you. UXP does not permit system-wide file access w/o user interaction.

Once you have a folder, you have access recursievly and can use `getEntry(path)` to access entries within, but the user has to be involved in the initial step of picking a folder.

Once you have asked the user, you can save the entry with a persistent token so that you don’t have to ask again, however. See [https://www.adobe.io/photoshop/uxp/uxp/reference-js/Modules/uxp/Persistent%20File%20Storage/FileSystemProvider/#createpersistenttokenentry](https://www.adobe.io/photoshop/uxp/uxp/reference-js/Modules/uxp/Persistent%20File%20Storage/FileSystemProvider/#createpersistenttokenentry)

---

<div class="post-metadata">

**Author:** ![Housewarmer](https://avatars.discourse-cdn.com/v4/letter/h/9de053/32.png) [@Housewarmer](https://forums.creativeclouddeveloper.com/u/Housewarmer)\
**Post date:** [July 9, 2021, 5:21am UTC](https://forums.creativeclouddeveloper.com/t/getfolder-without-folder-picker/3132/3 "2021-07-09T05:21:11Z")

</div>

Is there any plan to allow special permissions for plugins intended solely for enterprise distribution? I’m going to have a large of very annoyed artists if every one of our pipeline tools starts requesting access tokens to all the endpoints where we have to pick up / deliver files.

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [July 9, 2021, 9:37pm UTC](https://forums.creativeclouddeveloper.com/t/getfolder-without-folder-picker/3132/4 "2021-07-09T21:37:25Z")

</div>

Yes exactly. I have seen a suggestion from Adobe that devs could get trusted and optionally sign plugins to get more permissions automatically. This was just a suggestion. Nothing promised.
