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

  • Home
  • SEARCH
  • 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 9147933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:07:28+00:00 2026-06-17T11:07:28+00:00

I am creating a simple website which allows user to download some files from

  • 0

I am creating a simple website which allows user to download some files from the server side. Those file will not be created up front. That is, there will be a button on the html page. When user click that button, the page will ask server to grab those file from another server and zip it to user.

Currently I am using jquery. I created a popup dialog form which has a download button:

$("#dialog-form").dialog({
    autoOpen: false,
    height: 300,
    width: 350,
    modal: true,
    buttons: {
        "Download": function() {},
        close: function() {}
    }
});

When user click the download button, user need to wait for server to generate the file (that is, a blocking call).

I am very new to web development. Can anyone help me out here?

Thanks!

  • 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-17T11:07:29+00:00Added an answer on June 17, 2026 at 11:07 am

    If you just want to give a file you can simply give location of file in download button like

    $("#dialog-form").dialog({
        autoOpen: false,
        height: 300,
        width: 350,
        modal: true,
        buttons: {
            "Download": function() {window.location='{your file location}'},
            close: function() {}
        }
    });
    

    If you want to give zip format than you need to use some sever side plugin to convert it into zip.

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

Sidebar

Related Questions

I'm creating a simple file walker to list some files and need to omit
I am creating an internal website for my company in which everybody who will
I'm creating a PHP app that at some point will download an SFX archive
I'm working on creating a simple website for an exhibition. It's intended to use
I am creating a simple blog as part of a website and I am
i am creating simple call filter application which restrict unwanted calls. i use following
Was creating a simple console application to do some prototyping and was shocked to
I'm creating a fairly simple website. There are two static pages (Home and Portfolio)
I am creating a simple(ish) website for one of my iPhone apps using the
For a homework project, I'm creating a PHP driven website which main function is

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.