Finding a component to set file directory

I am trying to have an interactive way to let user set a download directory, so once the user finish building a model, the relevant information can be downloaded into this directory. I am currently using a dcc.Input and a text input area to do this, but what I really want is something similar to dcc.Upload, such that, one can set directory from a popup.

Is there a way to do this?

Thanks in advance for any help.

1 Like