Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8758467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:33:24+00:00 2026-06-13T14:33:24+00:00

I have a folder my_folder , and inside of that folder is a file

  • 0

I have a folder my_folder, and inside of that folder is a file my_file. I would like to create a link Download my folder on my website, so that when the user clicks on it, the user’s file directory comes up and the user can choose where to put my_folder (which contains my_file.) How can I implement this functionality?

I know that to allow the user to download a file, I can simply link to that file. But what about a folder?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:33:25+00:00Added an answer on June 13, 2026 at 2:33 pm

    From personal experience I have not seen a way to download a whole directory. You would probably have to dynamically zip the folder up and make the resulting zip downloadable.

    In HTML 5 you could use something like this to download a single file

    <a href="/files/name-of-pdf.pdf" download="name-of-pdf">Download Your PDF</a>
    

    The download attribute will force a download dialog for the user.

    Hope this puts you on the right track and maybe someone can prove me wrong on that directory download.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an include file menu.inc that I would like to store in the
I have a php page inside a folder on my website. I need to
I have a folder in my Git repository that I'd like to move out
My side resides in www.domain.com/Folder/Front.php So inside of Folder I have a .htaccess file
I am developing an Android App and would like to have a video file
I have a folder full of .tex files and I would like to write
I have a products.jar file. Inside that there is one class com.ClassA . The
I have one created one folder called MYFOLDER inside my folder in have one
Inside my main folder, I have multiple sub-folders and each sub folder contains multiple
So I have this code inside my lib/ folder: class GlobalConfig::SetHelper def self.yes_no_input(configuration) value

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.