Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Using File Explorer to upload files

I want to upload (and download) files to my PC using Dash.
Would someone point me (or show me please) how I can create a UI where the user can open a File Explorer to choose the file to load onto the PC or vice-versa. I don’t want the user to have to manually type in the full path.

thanks

See https://dash.plotly.com/dash-core-components/upload

Hi

Thanks. That solved 95% of my problem. Appreciate it.
However, it only seems to return the file name and contents. Not the path. Is there any way to find out the path so I can use that information?

thanks