dcc.Upload upload entire folder


Is there a way to upload an entire folder with all its contents as well as the folder structure?

It looks like this is supported by Dropzone (which I think is the underlying library for this component?).

If not, is it possible to use dash_core_components.Input for this? HTML5 supports folder uploads by adding directory or webkitdirectory attributes:

<input type="file" id="folder-input" webkitdirectory="" directory="">