Multiple Files - file_upload repository?

Multiple Files - file_upload repository?

by Arvind Murali -
Number of replies: 0

For assignments, most of my students who use phones or tablets for uploads, are having to click on the filepicker add icon to add a bunch of uploads. I wanted to open up the filepicker to allow multiple selection. On a computer, the drag and drop upload functionality works well to upload multiple files. It appears that it calls on the filepicker upload functions for every file which works fine. Is there a way I can make the file_upload repository to allow processing many files similarly? Since dndupload allows multiple files, not allowing multiselect on a phone or tablet does not seem meaningful. Most of my students even on a computer choose to click on upload and then scroll and choose files rather than drag and drop files. 


The path I'm going down - Under repository/filepicker.php, L183,

I've allowed multiple,

            echo '<input type="file" name="repo_upload_file" multiple/><br />'; 


I would then look for the count of files and process each file as an individual file picked similar to the dndupload.php process. Thoughts?


Average of ratings: -