Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Force Document Download

Posted on 1998-12-16
1
Medium Priority
?
187 Views
Last Modified: 2013-12-25
How do I "Force" a document to download?  I have a href tag, but because .doc is registered in the browser, it displays in the explorer window.  I want it to prompt for a "save file as..." (like you where downloading a zip).
0
Comment
Question by:hadermann
[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
1 Comment
 
LVL 4

Accepted Solution

by:
ruperts earned 200 total points
ID: 1857311
You can not do this unless you ask the user to remove the assocition between .doc and the browser (not likely). You could on the other hand make the document a self-extracting zip, this way the user would either have to save it to disk or run it straight off forcing the user to select a location to expand the zip file to. (This would also make a much smaller file, and therefore happier users)!
0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

715 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