Sign in
Log inSign up

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.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct