Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

downloading a file

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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

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!
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. 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 :…
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…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

575 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