Baidu network disk is how to achieve drag-and-drop folder upload?

I want to do a function similar to Baidu Cloud dragging files / folders to upload. Currently used webuploader upload plug-in, this plug-in uses < input type= "file" / > to select a folder, it can get the path of the files in the folder relative to the folder. But when I use drag-and-drop upload, the path to the file is empty. Would like to ask Baidu network disk is how to achieve, drag and drop the folder upload, and keep the file relative to the folder path unchanged? For my configuration of using webuploader, please see my previous question https://codeshelper.com/q/10...


Baidu has not understood it. I have done it myself. Anyway, it remains the same. It is not capturing drop events, getting the File object of the file, and then uploading File. I just replied in your last message, although I did not write the specific process

.
Menu