General plugins (Local): Download instructor files

Maintained by Picture of Charles Fulton Charles Fulton
This local module allows a teacher to download all files uploaded by teachers to a given course in Moodle.
61 sites
4 fans

This local module allows a teacher to download all files uploaded by teachers to a given course in Moodle. The module adds a "Download instructor files" link to the Course administration navigation block. By default the "editingteacher" and "teacher" roles are considered "instructors." Additional roles may be added in the plugin configuration page.


Screenshot #0
Screenshot #1


Picture of Charles Fulton
Charles Fulton (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Tue, 8 Aug 2017, 1:00 AM
    Approval issue created: CONTRIB-6998
  • Picture of Phuong Hoang
    Tue, 3 Oct 2017, 5:37 PM
    Hi Charles,
    There should be download count
  • Picture of ian hatton
    Thu, 8 Mar 2018, 10:19 PM
    Moodle 3.2, all courses result in "There are no files to download", any thoughts/suggestions?
  • Picture of Charles Fulton
    Thu, 8 Mar 2018, 10:22 PM
    The most likely reason is that all the files in the course were uploaded by someone without a teacher role in the course, such as a manager. That's by design.
  • Picture of ian hatton
    Fri, 9 Mar 2018, 11:37 PM
    Edit, this is working now, literally selected all roles in the plugin configuration ;)
  • Picture of Eric Katchan
    Sun, 25 Mar 2018, 10:04 PM
    Hello Charles, we have just installed the plugin on our site. Today, a professor contacted us saying that they go the empty file message. They were the owners of the course and were the ones to add the course files. They are old courses, likely upgraded from our moodle 1.9 installation. Any suggestions? SQL query from helper.php returns empty.

    When we tried enabling all roles we got back assignments but still not instructor files.

    Based on what we saw above, we tried enabling all roles except student. Still no results. Than we added student role and a large number of files were downloaded - Student submissions! No instructor documents were in the zip

    Any help would be appreciated

  • Picture of Charles Fulton
    Sun, 25 Mar 2018, 10:47 PM
    Hi Eric,

    Two questions:

    * Do the instructors have a teacher role in the course itself?
    * For a file that should have been downloaded, what does its entry look like in the mdl_files table?

    Please feel free to message me directly.


  • Picture of Yamee Yamee
    Mon, 28 May 2018, 2:43 AM
    Some people don't know how exactly the plugins point to the site which they are using. I start a new course in which my essay services are defined in which students learn about all these things especially plugins.
Please login to post comments