Repositories: Course File Area

Maintained by Me ! Tim Williams
Course file storage repository for Moodle 2, which replicates the Moodle 1.x course files functionality.
377 sites
3 fans
This repository plugin provides a course file storage area within Moodle 2.x which is similar in function to the Course Files functionality in Moodle 1.x, using the same numbered directories within the moodle data directory.

This repository is capable of operating as both an internal and external files repository,
although the internal capability is disabled by default. If the internal files capability
is enabled on a normal Moodle system then any files used will be copied into the new Moodle 2.x
file structure.

You will also need to install the "Repository File Manager" on your Moodle to make use of this plugin.

Please check our website for the latest plugin versions.


This plugin is part of set Course files.


Screenshot #0


Me !
Tim Williams (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Robert G
    Wed, 27 Feb 2013, 2:48 AM
    Hi, I am running Moodle 2.4 and using the Course File Area repository. I uploaded an image using it and i was able to view the image directly at the link it created here: /repository/coursefilearea/file.php/1/ads/fundamentals_180x150_EN.jpg.

    However, when i embed this image into an html block using img src it will not display. Has anyone run into this or know how i can fix it? Thanks.
  • Picture of Alex Julian
    Mon, 6 May 2013, 5:04 PM
    Hi, Please, Can I create service to search, and copy from this repository?
  • Picture of Camilo Ernesto Quintana Martínez
    Wed, 5 Mar 2014, 6:25 AM

    How delete or uninstall this repository?

    Tanks smile
  • Me !
    Fri, 7 Mar 2014, 6:58 PM
    Hello Camilo, Moodle doesn't have a "delete" method for Repositories. However, there are no special requirements for removing this, so if you do a web search you should be able to find some suitable instructions.
  • Picture of anna ko
    Sun, 4 May 2014, 7:05 PM
    Hello Tim
    It seemed like a great plugin and we wanted to use it in our system, but after a depth check we found out that with providing an old functionality, it also keeps the old problems sad
    As we saw, it handles the files in the old way (and not using the new moodle 2 files ystem). Winch means, that anyone who has a link to a file - can reach other files in the library (security leak).
    1. Is that true?
    2. If yes, are you planing to fix it?
    3. If so, what then the difference between using this block or the Course Legacy Files..?

    Thanks on advance,
  • Me !
    Mon, 5 May 2014, 7:23 PM
    Hi Anna,

    The whole point of this plugin is that it replicates the Moodle 1.x file system on disk, changing it to use the Moodle 2.x file system would defeat it's purpose (and cause it to be no different to Course Legacy Files). So anybody with access to the course can access all the files in the course. Our courses actually rely on this ability (we have single courses with 100's and in some cases 1000's of individual files which are totally unmanageable with the Moodle 2.x file system), so fixing it would break our systems.

    Tim W
  • Picture of anna ko
    Thu, 8 May 2014, 3:12 PM

    thanks for the answer!

    I still did not understand then, if it's the same -
    why don't you use the Course Legacy Files..?
  • Me !
    Thu, 15 May 2014, 9:00 PM
    I think you mis-understand. My plugin is very different to Course legacy files. My plugin uses the numbered directories inside moodle-data, the same as moodle 1.x. If I were to change it to to use the moodle file store then it would be the same as course legacy files, however the whole point here is that I need the moodle 1.x file structure on disc. This repository is designed to work with the Repository File Manager block, which replicates the Moodle 1.x file manager.
  • Picture of David Restrepo
    Tue, 10 Jun 2014, 7:29 AM
    I downloaded the plug in for moodle 2.6, but when I want to install, an error shows..."English language file name mismatch".

    Please help me with that, 'cause I don't know what could be.

    Same happens with the Repository File Manager plug-in.

  • Me !
    Sat, 6 Sep 2014, 1:05 AM
    Hi David, if you still have this problem, can you check that this isn't being cause by another 3rd party plugin on your system, I can't replicate this problem and the fact that it's happing for both plugins makes me wonder.
  • Me !
    Sat, 6 Sep 2014, 1:06 AM
    The 2013020301 release of this plugin works OK in Moodle 2.7, so I've updated the supported versions of this plugin to match.
  • Picture of Ahmed Ibrahim
    Wed, 24 Sep 2014, 12:29 AM
    can this repository allow teachers to make a customized package from uploaded scorm courses and allow students to download them as a package working offline?
  • S'envoyer en l'air
    Tue, 19 May 2015, 6:23 AM
    Love your plugins. It's awesome. Thank you
  • Picture of Daisy Hirata
    Fri, 27 Nov 2015, 10:47 PM
    I am trying to use this plugin in a Linux with Moodle 2.9+ but it is now working...
    I cannot upload any size file. It keeps saying that the file's size is over the limit.
    On the other side, I can use it in my mac with Moodle 2.9

    Can you help me on this??
  • Picture of Kate Dawson
    Mon, 12 Dec 2016, 9:20 PM

    Regarding this plugin,

    Is there a source code repository ( preferably git ) that we can use to integrate it into managed installation process ( we use git submodules to deploy code changes to our moodle environment.

    How does the plugin affect disk usage on moodle ? I thought that the version 2 file store was content addressable, and so deduplicated ? ( sorry if I misunderstand things here )

    Thanks in advance

1 2 3
Please login to post comments