fohrloop / dash-uploader

The alternative upload component for python Dash applications.
MIT License
144 stars 30 forks source link

How to upload files to the subfolders of subfolders. #56

Closed isCopyman closed 2 years ago

isCopyman commented 2 years ago

du.configure_upload(app, folder='temp') du.Upload( text_completed='Upload completed', filetypes=['xlsx'], max_files=10, id='uploader' upload_id = 'user1' ),

with this, I can upload file to temp/user1 But how to upload file to temp/user1/another_folder

isCopyman commented 2 years ago

https://github.com/np-8/dash-uploader/issues/45 I solved this problem. just add '/' after the uploadid , it will create a new folder. This problem occurred because upload id and component id has some bugs. changing the upload_ id didn't work, so I directly created a new upload component.