This UserScript allows you to download files from a Moodle course and creates a zip archive containing all the downloaded files. It works on course pages of https://moodle.bbbaden.ch and https://lms.bbbaden.ch.
- Combines all files and folders of the course into one zip archive, including sections that are only loaded on demand (e.g. the Tiles format).
- Folders keep their name and subfolders inside the zip.
- Assignment files: attachments of the task, your own submitted files and feedback files (in the subfolders
Aufgabe,Meine AbgabeandFeedback). - Quiz results: an overview of your attempts and grades plus every attempt you may review (questions, answers, points), saved as
.htmlfiles. - Pages are saved as
.htmlfiles. - Links can be saved as
.htmlfiles that open the website in any browser, or as Windows shortcuts (.url). - In the structured zip, subsections are placed inside their parent section.
- Optional structured zip with one folder per course section.
- Progress bar and a summary of failed downloads.
- Provides a convenient "Download All Files" button.
- Install a user script manager extension like Violentmonkey.
- Click here to install.
- Navigate to a Moodle course page.
- Locate the "Download All Files" card in the sidebar, or the "Download" tab in the course navigation if the course has no sidebar.
- Optionally check "Strukturiertes ZIP" to get one folder per section and choose how links are saved.
- Click the "Download" button to initiate the file download.
- A zip archive containing all the files will be generated and downloaded.
Note: This script is distributed under the terms of the MIT License.
This script is provided without any warranty and is subject to the terms and conditions of the MIT License.
Please use this script responsibly and ensure compliance with the MIT License and any other applicable regulations. The author shall not be held responsible for any consequences arising from the use or misuse of this script.
- PianoNic - GitHub Profile
For users who prefer a Python solution, there is also a Python script available on my GitHub repository: Moodle File Downloader (Python)
