Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Force download rather than browser stream

Posted on 2003-11-04
6
Medium Priority
?
311 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

926 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