Download instructor files

General plugins (Local) ::: local_instructor_files
Maintained by Charles Fulton, Andrew Zito
This local module allows a teacher to download all files uploaded by teachers to a given course in Moodle.
Latest release:
259 sites
11 fans
Current versions available: 6

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


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

Comments RSS

Show comments
  • Plugins bot
    Tue, Aug 8, 2017, 1:00 AM
    Approval issue created: CONTRIB-6998
  • Phuong Hoang
    Tue, Oct 3, 2017, 5:37 PM
    Hi Charles,
    There should be download count
  • i an
    Thu, Mar 8, 2018, 10:19 PM
    Moodle 3.2, all courses result in "There are no files to download", any thoughts/suggestions?
  • Charles Fulton
    Thu, Mar 8, 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.
  • i an
    Fri, Mar 9, 2018, 11:37 PM
    Edit, this is working now, literally selected all roles in the plugin configuration ;)
  • Eric Katchan
    Sun, Mar 25, 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

  • Charles Fulton
    Sun, Mar 25, 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.


  • Matthew Cook
    Mon, Jun 25, 2018, 10:07 AM
    I too am having problems with this plugin returning "no files", even when all roles other than "student" are selected in the site settings. I'm using Moodle 3.4. The plugin worked fine when I first installed it, which may have been when Moodle 3.3 was installed.

    Conversely, the similar "Course files" plugin works fine for the same courses.
  • Brian Warling
    Fri, Jan 24, 2020, 8:12 AM
    Hi... I've been testing this plugin on Moodle 3.7, and it looks very nice. I have one question -- I'll use an example. If a user with the teacher role is enrolled in a course, and the plugin is set to download files for that role, the files uploaded by that user should be included in the download set. But what happens if the user is unenrolled from the course? In my testing, it appears that those files are no longer included in the download set when another user downloads files. In other word, for the files to be included in the download, the user who uploaded them needs to be enrolled in the course. Once unenrolled, those files are no longer included in the download. Is this correct?

    Thanks much... Brian
  • Charles Fulton
    Tue, Jan 28, 2020, 1:04 AM
    Hi Brian,

    Yes, that's correct. If the teacher is no longer enrolled in the course then any files they uploaded will not be identified as "instructor" files.

Please login to post comments