Working with files

Managing content


Add files to our course

Course materials may take the form of files such as word-processed documents or slideshow presentations. The materials can be displayed on the page either as individual items or bundled together inside folders. Most types of files can be uploaded and accessed through Moodle but the student needs to have the correct software to be able to open them.

To add files to a Moodle course, first ensure you have the editing turned on.


Drag and drop

To drag and drop a folder, first compress/zip it.


Add a resource or activity


Viewing uploaded files


Editing or updating uploaded files


Creating an alias/shortcut


Areas in which aliases cannot be made

An alias cannot be made in the following areas of Moodle:

This is to prevent cases such as a student uploading an item for assessment and then subsequently changing the original in their private files. When a student uses a file from their private files in one of these instances, they do not see the options to "copy" or "create an alias". Below is an example of a file added to an assignment:


Site administration settings

An administrator can add new file types and view, edit and delete existing file types from Site administration > Server > File types. This means that, for example, if teachers and students on your site use a lot of files specific to a particular program, such files can now be recognised by Moodle, and, when downloaded, they will open in the correct program, rather than presenting themselves as a generic zip file.


Adding a new file type

1. Scroll down to the bottom of the page and click the "Add" button

2. Add the details of the file type, using the example below as a guide. This example will add the .mobi extension (for a Kindle ebook) with the standard document icon.

3. Click to save the changes and we will see your new file type has been added to the list:


Restricting allowed file types


Removing a file type


Editing an existing file type


Google docs and docx

Importing Google docs files as docx. See https://moodle.org/mod/forum/discuss.php?d=320144


See also