Page 1 of 1

Link to download all files in a folder

Posted: Sun Dec 29, 2024 5:03 pm
by dannac
I understand how to link to a specific file on my website.

Is there away to link to a folder (with sub-folders)
and have all downloaded ?

Re: Link to download all files in a folder

Posted: Sun Dec 29, 2024 5:45 pm
by Pablo
HTML does not include a standard option for this functionality. To achieve this, you will need to implement a custom script. Alternatively, you can provide a link to a ZIP file that contains all the necessary files.

Re: Link to download all files in a folder

Posted: Sun Dec 29, 2024 6:27 pm
by crispy68
The easiest way is as Pablo stated. Create a folder with all the files inside and then zip it up. Then create a link to this zip folder which will allow the user to download the zip file. The only issues obviously is that the user will have to unzip it on their computer. Not a biggie but one extra step but this is common on sites.

Re: Link to download all files in a folder

Posted: Sun Dec 29, 2024 8:38 pm
by onlye
If you need to download all files the zip is probably best. I have several customers that have multiple files that are displayed, and the visitor can click to open/download each individual file in the list. I use the Bootstrap File Listing Extension. Just tell the extension the folder to be displayed.

sample use:
https://msecam.com/resources.php

Re: Link to download all files in a folder

Posted: Wed Jan 01, 2025 2:09 pm
by dannac
Thanks for all the replies and example.