Adding a file

Additional resources

Approaches

There are two basic approaches to adding a file to your Moodle course.

  1. Upload it directly yourself. This is by far the most common. If the file is less than 256 MB in size, this is almost surely the approach you want.
  2. Get me to help. If your file is bigger than 256 MB in size, or if you find yourself having real trouble uploading it, then you'll need my help.

Uploading a file yourself

Approach 1: drag and drop

  1. Start on the main page of your course. If you haven't turned editing on, do so.
  2. Drag and drop the file from your computer to the place where you want it in the course.
  3. If you don't like the title Moodle assigns it, you can use the “Edit” menu to the right of the file to change it.
  4. Click on the file to make sure the correct thing happens. If the wrong thing happens—for example, if the students will need to download your file but instead Moodle tries to open it in the browser—then you'll need to force the correct behavior.
    1. Use the “Edit” menu to edit the file's settings. Under “Appearance” is a setting marked “Display”. The default setting for this is “Automatic”; however, you may find that you get better results with “Force download” (for files that should be downloaded) or “Open” (for files that really should be opened in the browser). Select the choice you want.
    2. Click “Save and return to course” at the bottom of the page.
    3. Click on the file again, to see if the change you made to “Display” gives you the behavior you expected. Re-edit the setting if necessary.

Approach 2: the long way (or, if you can't drag and drop)

Sometimes, either because you're on the wrong kind of device or for some other reason, you don't have the ability to drag and drop. But your file is small, and you don't want to wait for me. What to do?

  1. As before, start on the main page of your course. If you haven't turned editing on, do so.
  2. Go to the week (or unit) where you want to put the file. In the “Add an activity or resource” dialog, choose “File” and click “Add”.
  3. This will take you to a page titled “Adding a file to something”, where something is the name of the unit to which you're adding the file.
  4. In the “Name” blank, give your file a name. (This name is for the students to see. It's likely different from the actual filename on disk.)
  5. In the “Description” text box, enter a description of your file. Don't spend too much time on this, as it's not usually visible, but Moodle requires that you put something here.
  6. Below that, you will see a section titled “Content”, and inside that section a box titled “Select files”. (If you could drag and drop, that would be the easy way to get your file into the box. Unfortunately, the whole reason you're in this part of the directions is that drag and drop doesn't work for you.) In the upper-left corner of that box is an icon of a file with a “+” on it. Click that icon.
  7. This will pop up a dialog titled “File picker”. In the dialog is a place marked “Attachment”; next to “Attachment” is a button marked “Choose File”. Click that button.
  8. You will get a standard file-picker dialog. Use it to select the file you want, and click “Open”.
  9. This will return you to Moodle's dialog titled “File picker”. Click the button marked “Upload this file”.
  10. This will return you to the “Adding a file …” page from step 3. If you want to force the way that your file is displayed, you can use the “Display” dropdown in the “Appearance” box to do so.
  11. If you want to make your file visible only after a certain time (or only within a certain time period), you can change the settings in the “Restrict access” box to do so.
  12. At the bottom of the page, there are two buttons and a link. Nearly always, you want to click “Save and return to course”, which saves your uploaded file and returns you to the course main page. “Save and display” will save your uploaded file and then try to display it; unfortunately, it doesn't always look the same from “Save and display” as it does when you click to it from the course, so “Save and display” isn't as useful as it should be. “Cancel” just takes you back to the course main page, without saving anything; Moodle will pretend that you never tried to add that file.
Last modified: Wednesday, 4 March 2015, 1:46 PM