My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to download folder and contents from front end?

PhiGuy's photo
PhiGuy
·Jun 13, 2019

I have a Mac application in the form of example.app that is actually a folder containing the programs resources (binaries, etc.). I want to have the user click a button and download the whole folder and all of its contents.

I've tried the following

<a href='theFolder.app' download='theFolder' >Download</a>

This does not work. I am willing to implement PHP, JavaScript or Python, I just want something that works.