Add a course file
  • 21 Jun 2022
  • 2 minutes to read

Add a course file

Article summary

When creating courses you may want to add important files for your learners to access. There are multiple ways to add files to your courses.

To add a file as a resource follow these steps:

  1. Go to the course and Turn editing on.
  2. Click Add a resource or activity in the section you want to add the file to. 
  3. From the list of resources select File, then click Add
  4. Configure the settings as required. 
  5. Click Save and return to course to finish. 


When you use the file picker to add an existing file from either your Private file area in Totara Learn or a repository file (such as Server file or an external connected repository) you will have two options. 

  1. Make a copy of the file: This makes a separate copy of the file. The file is now duplicated and not linked to the original file, so you can make changes without affecting the original. 
  2. Create an alias/shortcut to the file: This creates a link to the original file, meaning that any changes to the original file will be disseminated across any aliases. 

Which option you choose depends on whether you wish for this instance of the file to be affected by changes to the original or not.

Aliases can be a good way of preventing extra storage space being taken up (by only having a single copy of a file) and means that you only have to make changes once and it will be applied to all the file's aliases across the site. 

Drag and drop

If you want your file to show up as a downloadable link on your course, and you do not immediately wish to configure any other settings, then you can drag and drop it directly onto the course page. 

  1. Go to the course and Turn editing on.
  2. Find the file on your computer and hover the mouse pointer over it, then press and hold the left mouse button so that you can drag it. 
  3. Drag it over to the section you want to add it to on the course and drop it by releasing the left mouse button. 

You can then edit your file settings if required. 

From a ZIP folder

It is possible to upload a ZIP folder and then set a file to display as the main file. This could be useful if for example you wanted to upload an exported website, as you could upload this as a ZIP folder and then set the index.html page as the main file. 

If you want to link to a file in an external repository, instead of uploading a copy to the course, you can add the file to the course as a hyperlink in a text area. However, if you choose this method then you will not be able to configure the settings in the same way.

  1. Go to the course and Turn editing on.
  2. Add some text (for example via a label or using the topic description).
  3. Highlight the text and click the hyperlink icon () to create a link.
  4. Select From a repository and then upload or browse for your file.
  5. Choose the file and click Select this file.
  6. When you are done click Save and return to course

Next steps

© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions. 

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.