For Moodle 3.2
Moodle Help & Support
This guide gives a quick step-by-step of how to overwrite or update existing files within Moodle that you or a colleague have previously added.
Your Moodle module may contain files that you have published links to elsewhere. If these documents need updating, you can simply delete them and upload new versions, but this means any links you have to these will stop working. The good news is you can simply overwrite them, maintaining their web addresses. Here's how.
- Navigate to the required module and click the Turn editing on button (top right).
- Now click on the Edit text next to the item you wish to overwrite/update. This will open up further options, from these options click Edit settings
- In the Settings window, scroll down to the Select files section where you will see the icon of the file you wish to update/overwrite. Click on the icon which will bring up a pop up window.
- Click the Delete button where you will be asked ‘Are you sure you want to delete this file?’ Press OK.
- Now either drag and drop the new file you wish to upload (you will need IE10 or above or Chrome/Firefox browsers) or you can upload by clicking the top left Add... icon within the Select files section.
A pop up will appear where you will need to click on the Upload a file option, then click on the Choose file.. button to find and select the new file. Then click on the Upload this file button and your file will now appear in the box.
- If you haven't already deleted the old file, you can overwrite an existing file then ensure that the file you want to use has the same name as the current file then add this to the box either by dragging and dropping or clicking the top left Add... icon within the Select files section. A pop up window will appear informing that there is already a file with this name. You then have the option to rename or overwrite. Click the Overwrite button and the file will overwrite the other one.
- Finally, scroll down to the bottom of the page and click on the Save and return to module button to complete the process.
You do not have to do anything further at this point as Moodle will replace the original file in place with the updated one you have just uploaded. Its link and position on the module's front page will remain the same as before but the file will now be the version you have just uploaded. It is recommended as good practice that you test this as a student to ensure that the correct file is displayed as expected.