Refers to Moodle 3.8 from September 2020 onward.
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' word for the item you wish to overwrite/update. This will give a drop-down menu of options, from these options click 'Edit settings'
3. You will now go to the 'Updating' screen, whether it's 'Updating: Page' or 'Updating: File' etc,.
In the Updating 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 file's icon which will bring up a pop up window.
4. Click the 'Delete' button where you will be asked ‘Are you sure you want to delete this file?’ Press 'OK'.
5. Now either drag and drop the new file you wish to upload (you will need IE10 or above or Chrome/Firefox/Edge 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.
5. 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.
6. 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.
7. When you have finished, click on the 'Turn editing off' button which is on the top-right corner of your Moodle page