Reputation: 7711
Imagine that a user uploads a file called "myAssignment.docx" to Moodle to complete the submission of an assignment. Where would the folder containing "myAssignment.docx" be? Is it in the moodledata folder outside the public web directory or somewhere else? I am trying to locate that folder because I want to monitor its growth to determine when I should upgrade my web hosting service to provide more storage space for files that students upload to the server.
Upvotes: 2
Views: 14758
Reputation: 1
It is stored in /repository directory from Ver 3.62.
You may have subdirectories. Check which one is used for the purpose.
Upvotes: 0
Reputation: 6317
https://docs.moodle.org/dev/File_API_internals#File_storage_on_disk
The simple answer is inside:
$CFG->dataroot.'/filedir'
Upvotes: 4