Solved

downloading a file

Posted on 2000-03-01
3
178 Views
Last Modified: 2013-12-24
I want to have a downloadable file on a page, where the visitor can click to download it. Is this easily done?
0
Comment
Question by:ADenney
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:TTom
ID: 2574499
It's easy to set up, but not necessarily easy to guarantee.

You can create an HTML link to your file, e.g., <A HREF="myfile.xxx">Download myfile</a>

If the file is not associated with any particular program, the user will be offered the option to download it.  The trick is that many standard file types are associated with programs which will allow them to open in the browser.

One simple solution is to zip the files.  Zips are always downloaded (or at least always offered the option to download).  However, that requires that your clients have an unzip program.

Files such as .doc, .xls, .pdf are frequently "viewable" inside the browser, which would, I think, defeat your purpose.

Can you be a bit more specific as to what you need to achieve?

Tom
0
 

Author Comment

by:ADenney
ID: 2574585
Hi,
Specificaly, I do want to let them download a zip file, with the possibility of including Winzip or whatever if they do not hve such.
0
 
LVL 9

Accepted Solution

by:
TTom earned 50 total points
ID: 2576391
If you set up a simple link (<a href=>) to a .zip file, the client will be offered the chance to download, by default.  That's the way it works on my machine (but I have Winzip).

You might have to set up a separate link to Winzip.  There's probably a download page on www.winzip.com, and you can set up another link on the page to that one.  It's what people do with the Adobe Acrobat reader all the time (although that one is free).

Tom

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

740 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