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.

Comments

Sam, the plugin can't update a file in the central repository (I have yet to find a way to do this...). However, if you use the plugin an an external repo, the you are effectively linking to an single copy of a file.

Bei: That might be down to the $COURSE problems mentioned earlier in this thread, I've had a similar problem when testing against Moodle 2.4. This will be fixed in the next release, which I should be uploading very soon.

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.

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.

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
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..?

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.

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.

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.

Hi
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