Solved

Force Document Download

Posted on 1998-12-16
1
185 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 50 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

626 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