upload multiple files in an assignment

upload multiple files in an assignment

by Darin Jojas -
Number of replies: 2

How we can allow students to upload multiple files in one assignment. I notice that files that required to be upload through the Moodle interface can only be upload one at a time. Is there any other way(s) to upload multiple files or even a directory?
need to pass the itemid from webservice/upload.php to mod_assign_save_submission for all files at the same time, cause if I passed them once at a time will do override for the previous files!! 

so what is the best way to upload multiple files at the same time?

Average of ratings: -
In reply to Darin Jojas

Re: upload multiple files in an assignment

by Arvind Murali -
I'm looking for an answer to this as well. Most of my students use tablets and uploading one at a time is a real pain
In reply to Arvind Murali

Re: upload multiple files in an assignment

by Darin Jojas -
Hi Murali,
this issue solved! the problem was that the item id in upload.php endpoint is for the file area not for the file itself so the first upload file will generate itemid this id will be for all files by adding it on the param for the rest of the files.