?
Solved

downloading a file

Posted on 2000-03-01
3
Medium Priority
?
183 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 200 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
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…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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