General developer forum

HOW COPY FOLDER OF COURSE WITH PROGRAMMING

 
Raymond
Re: HOW COPY FOLDER OF COURSE WITH PROGRAMMING
 

Hi Vicente,

I think the rule of thumb in Moodle when it comes to handling its files, is to avoid touching the files directly. If you want to fetch the files belonging to a particular course, course module or plugin, then I suggest that you look at Moodle's File API.

Consider reading through the following content:

https://docs.moodle.org/dev/File_API, and this one:

https://docs.moodle.org/dev/File_API_internals

They deal with how to handle Moodle files

 
Average of ratings: -