Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Files.
Template:Course admin Files is a place to upload files and find Moodle created files such as backup(s) of the course. The files area can contain PDFs, HTML, Multimedia, word processing, presentations or any digital content that can be link from an activity, resource, course section, or for a direct download by the student. The Files menu is located in a course's administration block.
In Moodle 2.0 the Files interface and process has changed.
The files link shows a list of files and folders, depending upon the viewer's role. The list will contain the name, size, last time modified and potential action(s) to modify that item.
To preview any file or drill down, click on its name. Your web browser will take care of either displaying it or downloading it to your computer.
Files in Moodle 2.0
However for upgraded courses, there is the previous Files link in Moodle 2.0,. The files link only exists for upgraded courses and it is no longer possible to upload files to the course files, except through an activity or resource link.
Move, delete, archive
It is possible to move, delete completely or zip archive one or more items. First select the items on the list by ticking the box on the left. Then use the "With Choosen files" pull down menu at the bottom of the list to take the action.
Make a folder
The "Make a folder" button is at the bottom of the list. The initial file structure for a course is simple. Modules within Moodle may create their own folder. Generally speaking,a teacher can make one or more folders any place in the "files" area. These folders can be seen when adding an image or resource from within the course.
Upload a file
On the bottom of every files screen is a "Upload a file" button. This will allow a single file upload. Uploading a file with the same name as an existing file it will automatically overwrite the existing file without a warning.
- TIP: By first zipping a group of files or a folder of files, you can upload that file and Moodle will recognize this and give you an unzip action link. The unzip action will create the files and or folders in that place in the administrative files section.
Editing some files
HTML and text files can be edited when the edit action is displayed on the left. Other files will need to be edited on your local computer and uploaded again.
Student views of files
Using the add resource menu, the teacher can give access to a directory (folder) and everything under it.
There are two standard sub-directories that are used by Moodle for storing data, namely the backupdata and moddata directories which are not available to students and teachers without editing privileges.