Solved

Force download rather than browser stream

Posted on 2003-11-04
6
299 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
  • 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 17

Accepted Solution

by:
dorward earned 30 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now