Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upload multiple folder

I want to upload multiple folder( folder and its sub folder) using javascript. Now I am able to upload a single folder which contain more than one files using this code

<input style="margin-left:3%;" type="file"  class="width-75" name="docfile[]" id="docFile" onchange="getSelectedFiles(event)" webkitdirectory>

But how can I upload multiple folder at a time? Is it possible? Or what changes are made into this code to make it possible? Anybody please help me..

like image 729
arya Avatar asked May 17 '26 23:05

arya


1 Answers

You need to add multiple at the end of the input tag like this <input type="file" multiple>

like image 112
Zhaolin Lau Avatar answered May 20 '26 13:05

Zhaolin Lau



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!