Solved

downloading a file

Posted on 2000-03-01
3
176 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
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. 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 : Open Page or Post…

831 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