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

x
?
Solved

Force download rather than browser stream

Posted on 2003-11-04
6
Medium Priority
?
309 Views
Last Modified: 2010-03-04
Simple question, is it possible to force a browser to download a (video) file rather than stream it using any default handlers set up client side?

OK, so it's a problem with IE :P but I'd like to know if there's a workaround.

Points will increase if there is a solution, I just don't want to pay out loads for a 'no' answer.
0
Comment
Question by:eeBlueShadow
[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
  • 3
  • 2
6 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 9680575
Remind me not to visit your website. You have no business attempting to force me to download something as porky as a video file without my explicit consent. That's MY bandwidth, not yours.
0
 
LVL 10

Author Comment

by:eeBlueShadow
ID: 9683620
I'm not trying to 'force' a download in that sense.

We have an embedded media player (which people have to choose to load), but visitors also have the option to click to download the video file (for example if they don't have a fast enough connection to stream the video).

Unfortunately, IE intercepts a link to a WMV (possible to do with the extension, possibly to do with the MIME type) and tries to use the built in Media Player to stream it (which I don't want - after all, I don't want to use people's bandwidth unecessarily :P). My ignorance of how IE treats such links was the reason I asked the question.

What I want to do is force IE into thinking its a downloadable file and bringing up the 'Save file as...' box.

I'm sorry if my question was a little unclear, but I think your response was unecessarily harsh.

I didn't think EE was a hostile environment...
0
 
LVL 10

Author Comment

by:eeBlueShadow
ID: 9685415
Clarification: When I say IE tries to use the 'built in player' I mean the Windows player, not the embedded player on the site.

Just so you know.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 17

Accepted Solution

by:
dorward earned 90 total points
ID: 9685559
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 9686960
Ooops. Pardon me while I @remove some tootsies. Yes, I completely misinterpreted what you wanted to do. Sorry.
0
 
LVL 10

Author Comment

by:eeBlueShadow
ID: 10260378
Sorry about the long delay in answering.

I never really sorted the problem before, and only when going through my open questions did I have the time to fiddle and tweak.

Thanks for the link :)
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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

721 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