Course File Area

Repositories ::: repository_coursefilearea
Maintained by Me !Tim Williams
Part of set Course files.
Course file storage repository for Moodle 2, which replicates the Moodle 1.x course files functionality.
Latest release:
234 sites
8 fans
Current versions available: 3
This repository plugin provides a course file storage area within Moodle 2+ 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+ file structure.

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


Screenshot #0


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

Comments RSS

Show comments
  • Me !
    Fri, Mar 7, 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.
  • anna ko
    Sun, May 4, 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, May 5, 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
  • anna ko
    Thu, May 8, 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, May 15, 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.
  • David Restrepo
    Tue, Jun 10, 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, Sep 6, 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, Sep 6, 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.
  • Ahmed Ibrahim
    Wed, Sep 24, 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, May 19, 2015, 6:23 AM
    Love your plugins. It's awesome. Thank you
  • Daisy Hirata
    Fri, Nov 27, 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??
  • Kate Dawson
    Mon, Dec 12, 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

  • Boris Malysh
    Mon, Apr 17, 2017, 9:30 PM
    Ladies and gentlemen, I hope somebody here can help me, because I'm completely lost.
    Here's the situation: I have a set of files (let's call it a site with an index page), and I know it's possible to import it with the file resource element. But the task is to embed it into a label element... So that the site is shown right on the page....
    I hoped to upload the site to the repository made with help of the Course File Area and then to iframe the index file... but it doesn't work. I guess there must be something wrong with the file path. I've tried tinkering with it but still no result.

    Any suggestion will is valuable for me!
  • Me !
    Tue, Apr 18, 2017, 6:20 PM
    Hi Boris, it's difficult to know what's going wrong with seeing the actual code you are trying to put into your page. That said it wouldn't surprise me to find that Moodles code cleaning routines are removing the iframe tag from the label thus preventing it from working. You might need to this with custom code in your theme.
  • Me !
    Wed, May 2, 2018, 11:25 PM
    A Moodle 3.5 version of this plugin is on the way, compatible code is already on GitHub.
1 2 3
Please login to post comments