Creating a web site to download a file

Posted on 2006-03-31
Last Modified: 2010-04-20

As a home user, I want to allow a user to click on a web link that downloads a .zip file.

I have no web server experience, so just need to basic steps (and tools) to complete this task, will work on the details later.

I can Remote in to my PC, so there is outside access, if this helps at all.

My basic plan is to have a PC with Windows 2003 on it as my web server.

Question by:Alaska Cowboy
    LVL 18

    Accepted Solution


    1. Import the files to be downloaded into your current open web, then create a link to each from a
    image you have created or text you have entered, just as you would link to a page.

    2. Depending on your web host, you may not be able to upload any .exe files, and depending on the
    type of templates, when a user click on the link, they may open directly in the associated
    application, the best solution is to make all the files into .zip file using Windows XP Compressed
    zip file function or use WinZip.

    If you want to download the any file from the browser then you have to set MIMe type of that file extension from the IIS

    1.      Start > Program >Administrator tool > IIS
    2.      In IIS console here is option + website > click on +
    3.      You can add your web site here. right click > Properties
    4. there is option Mime type
    5. Set zip mime type
    4.      Click on Apply.

    f you are using IIS then you have declare the Mime type for csv in IIS file check it You can define the zip Get rid of your MIME Type for .EXE. The correct

     You can create a "download" button if you wish in your favourite image

    If you want to use a form button for a download link, in FP 2003 there is a
    behaviour to make a hyperlink from a form button, or try this code (does the
    samething as the FP2003 behaviour)

    This came from


      1.  Copy the coding into the HEAD of your HTML document
      2.  Add the last code into the BODY of your HTML document  -->

    <!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->


    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Sven David Hildebrandt ( -->
    <!-- Web Site: -->

    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! -->

    <!-- Begin
    function goToURL() { window.location = "<<site>>"; }
    //  End -->


    <!-- STEP TWO: Copy this code into the BODY of your HTML document  -->


    <input type=button value="New JavaScripts" onClick="goToURL()">
    LVL 1

    Author Comment

    by:Alaska Cowboy
    Ok, I appreciate the info. Will give it a try. Thanks.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video discusses moving either the default database or any database to a new volume.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now