Download essay submissions

Quiz reports ::: quiz_downloadsubmissions
Maintained by Kashmira Nagwekar, IIT Bombay
Moodle Quiz Report Plugin for downloading essay submissions.
Latest release:
979 sites
14 fans
Current versions available: 1


Moodle Quiz Report Plugin for downloading essay submissions.

The ‘Download essay submission’ plugin offers users a convenient way by which teachers can download quiz essay attachments submitted by students in response to quiz essay questions.


  • The plugin folder ‘downloadsubmissions’ is to be added under ‘moodle/mod/quiz/report’ directory.
  • In your Moodle site (as admin) go to 'Site administration > Notifications' (you should, for most plugin types, get a message saying the plugin is installed).

How to use?

  • Go to a particular quiz.

  • Click on 'Settings' icon.

  • The plugin ‘Download essay submissions’ link will appear under ‘Results’ section. Click on it.

  • The teacher will get the following page wherein they will be provided with a set of preferences like:
    • Set folder hierarchy
      • Essay question wise
      • User attempt wise
    • Include text response file 
      • If the essay question has online text submission as well and then, teacher can set this to Yes if they wish to download text responses as text files along with file attachments
    • Include question text file
      • Whether to include question text as well or not
  • The teacher can set the preferred way in which they wish to download the submissions to essay questions and click on ‘Download’ button.

  • On clicking this button, the teacher will get a zip file consisting of attachments/files submitted by students in response to the quiz essay questions.

Download essay submissions

  • The hierarchy of folders present in the downloaded zip file is explained through an example.

    Example: Quiz Scenario

    A Quiz (Programming Tutorial) has an essay question (Question No.: 3, Question name: OOP Concept) requiring attachments/files to be submitted in response by students.

    A student (Student name: Anisha Patki, Username: anisha) attempts the quiz twice, each time attaching a response file to that particular essay question.

    The files submitted by the student as responses are:

    • First Attempt - Answer.odt
    • Second attempt - New_answer.pdf

    Now, in the downloaded zip file, the folder hierarchy for this particular student's response files is as follows:

    • Q8 - OOP Concept / anisha - Anisha Patki / Attempt1_Answer.odt
    • Q8 - OOP Concept / anisha - Anisha Patki / Attempt2_New_answer.pdf

    (Note: Here, in 'Q8', '8' is the database question id for that particular question and may not match the question no. as it appeared in the quiz as shown in the example above.)


Through this feature, now teachers will be able to download/save all attachments of all attempts submitted by students in response to the quiz essay questions at one time.


Screenshot #0
Screenshot #1
Screenshot #2


Kashmira Nagwekar (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Andreu Martí
    Thu, Apr 30, 2020, 3:40 PM
    Hi, very interesting plugin. I need it for a 3.8 moodle version, are you planing to upgrade the pligin for future versions? Thank you
  • Paul
    Tue, May 5, 2020, 10:40 PM
    I echo the comment of the above contributer. A version that works with 3.8, or perhaps even 3.9 would be greatly appreciated.
  • Kashmira Nagwekar
    Mon, May 11, 2020, 2:53 AM
    Hi, yes .. will be releasing versions for 3.8 and 3.9 soon.
    Thank you.
  • Christian Milani
    Mon, May 18, 2020, 9:24 PM
    Hello, did anyone ever ask you if it is possible to download essay questions used in random questions?

    Will you implement it in the future versions?
  • Christian Milani
    Mon, May 18, 2020, 9:27 PM
    I just saw that on github someone gave you this solution: is it working?
  • Robert Pollak
    Wed, May 27, 2020, 6:57 PM
    I hope the 3.8 version will be released soon. I'd like to use it for a test end of June, and our IT department has to inspect and install it before.
  • Kashmira Nagwekar
    Wed, May 27, 2020, 9:58 PM
    Hi, just tested out the plugin for moodle version 3.8.2 and everything seems to be working smoothly.
    You can also, install the plugin and test it out.
    Let me know about this.
  • Robert Pollak
    Thu, May 28, 2020, 8:05 PM
    Unfortunately, it does not make sense for us to test the plugin before it also works for random essay questions (
  • Kirk Martinson
    Thu, Apr 1, 2021, 6:00 AM
    Have you had anyone run into the issue of the page timing out when downloading? We can successfully download smaller files with the plugin, but larger than 100MB seems to timeout in a way that downloading from an assignment or a backup doesn't. Any suggestions? (And thanks for the plugin - it's much appreciated by our faculty.)
  • Tamara Notenboom
    Wed, Nov 17, 2021, 10:31 PM
    Hi, in this example it shows a .odt file and a .pdf file as result. In our moodle (3.10.5) it results in files without extension that can be opened with wordpad or word, and they look like txt files. I really need the files as pdf and I can't go around manually converting 200+ essays every time. Is there a setting that I missed somehow? What am I doing wrong? Thanks in advance!
  • Jon Breitenbucher
    Thu, Jan 20, 2022, 11:27 PM
    Any plans to update for 3.11? 4.0?
  • Louisa van der Linden
    Mon, Apr 24, 2023, 6:11 PM
    Hi Kirk Martinson - this plugin also timed out for some of our clients. We optimised it and will attempt to contribute improvements back. Here's some of the detail from our developer:

    "Noticed that the DB select was getting 22 000 records back, but this essay only had 500 attempts on it, so adjusted the DB select to only get essay type records, which dropped it down to 500. There was some more code later on that tried to figure out each one of the 22 000 attempts quiz types, which adds unnecessary processing time. We could then remove the IF statement which already optimized code performance.

    We also added in “raise_memory_limit(MEMORY_EXTRA);" to help php with processing and compiling those zip files and data."

    Please note that you might need to change timeout settings on php/apache/LB (e.g. NGINX) depending on your architecture deployed.
  • Brandon Jimenez
    Tue, May 9, 2023, 10:37 PM
    Hi Louisa, would you mind adding a pull request on the plugin or share the code, sounds very interesting to us.
  • Alex Keiller
    Tue, May 16, 2023, 5:20 PM
    Hi. Will this plugin be updated for Moodle 4.0, 4.1 & 4.2?
  • Hong Yee Lee
    Thu, Jan 4, 2024, 11:56 AM
    Hi, anyone found this similar plugin for Moodle 4.1?
1 2
Please login to post comments