# Show native folder selection window

**URL:** <https://community.plotly.com/t/show-native-folder-selection-window/83151>\
**Category:** Dash Python\
**Created:** [March 19, 2024, 12:38pm UTC](https://community.plotly.com/t/show-native-folder-selection-window/83151 "2024-03-19T12:38:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpaton](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jpaton](https://community.plotly.com/u/jpaton)\
**Post date:** [March 19, 2024, 12:38pm UTC](https://community.plotly.com/t/show-native-folder-selection-window/83151/1 "2024-03-19T12:38:11Z")

</div>

Hi, i wolud like to make a button om my app that shows my native ubuntu archive explorer to select a file from a directory, is that posible?

---

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [March 19, 2024, 2:46pm UTC](https://community.plotly.com/t/show-native-folder-selection-window/83151/2 "2024-03-19T14:46:23Z")

</div>

Hello @jpaton,

The upload file section should cover this desired interface.

> **[Upload | Dash for Python Documentation | Plotly](https://dash.plotly.com/dash-core-components/upload)**
>
> Upload

Now, if you are talking about something explicitly on the server’s files, then yes. You can do this via an accordion as you navigate down the folder structure.

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [March 19, 2024, 10:34pm UTC](https://community.plotly.com/t/show-native-folder-selection-window/83151/3 "2024-03-19T22:34:16Z")

</div>

> [@jinnyzor](#):
>
> You can do this via an accordion as you navigate down the folder structure.

I think @jinnyzor Is referring to something like this:

> [@File Explorer Tree Generator for local files](https://community.plotly.com/t/file-explorer-tree-generator-for-local-files/68732):
>
> Hey all, I needed a reactive file explorer that generated a file tree given a path, so here it is. Big thanks to @AnnMarieW for help building this out! [Screen Recording 2022-10-08 at 5.09.47 PM] Here is the code: import os from dash\_iconify import DashIconify import dash\_mantine\_components as dmc class FileTree: def \_\_init\_\_(self, filepath: os.PathLike): """ Usage: component = FileTree('Path/to/my/File').render() """ self.filepath = filepath def re…

---

<div class="post-metadata">

**Author:** ![jpaton](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jpaton](https://community.plotly.com/u/jpaton)\
**Post date:** [March 20, 2024, 9:00am UTC](https://community.plotly.com/t/show-native-folder-selection-window/83151/4 "2024-03-20T09:00:46Z")

</div>

if im not interested in building a tree, can i skip the build tree method?

---

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [March 20, 2024, 1:43pm UTC](https://community.plotly.com/t/show-native-folder-selection-window/83151/5 "2024-03-20T13:43:07Z")

</div>

If you don’t want a user to select the path, then you just give them a list of the file options.
