Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Files.

Files

From MoodleDocs


Files icon.JPG 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 linked 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

Moodle 2.0


Note: File handling in Moodle 2.x has been changed. Teachers will find the file Repositories in the new File picker.

Courses that have been upgraded to 2.0 will see the old Files link in Moodle 2.0. This "Files" link only exists for upgraded courses. The new file picker is available from within the context of an activity or a resource in 2.0. For example, this system will allow teachers to upload files from their hard drive, access files on the server, or from external sources.

Files in pre Moodle 2.0

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.

Special sub-directories

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.

See also

For Moodle 2.0

  • File picker - the robust interface that teacher use to upload and link files in resources and activities.
  • Repositories - site administrators determine what teachers see in the File picker.