Drag and drop folder from windows explorer

Hi,

I using react file manager with asp core physical provider, i receiving an error when trying to drag and drop a folder from windows file explorer to filemanager component (with single or multyple files no such a problem).

Does fileManager support drag and drop folders from windows file explorer?


Ok, only if i choose Folders in upload button, then i can drag and drop folders from windows, but can`t drag&drop files, and vice versa. Is there any setting to set filemanager to autodetect drag&drop folder/files?



1 Reply 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team August 10, 2023 10:34 AM UTC

Hi Zeev,


Greetings from Syncfusion support.


In the File Manager, we have Toolbar option to achieve folder or file upload. In order to upload files from windows by drag and drop, you need to choose the “Files” option from the dropdown options of the “Upload” button. We couldn't change directoryUpload property value dynamically based on dropping folder/files. So, we suggest you use the Toolbar to switch the options between upload operation.



Sample: https://stackblitz.com/edit/react-a2wa2b?file=index.js


For your reference, we have attached the sample. Check out the shared sample and get back to us if you need any further assistance.


Regards,

Indhumathy L


Marked as answer
Loader.
Up arrow icon