Solved

Force download rather than browser stream

Posted on 2003-11-04
6
300 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Website being blocked? 3 122
Problem with .htaccess file 4 66
htaccess file 3 75
Stream live video from Raspberry Pi camera 22 116
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 …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 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

11 Experts available now in Live!

Get 1:1 Help Now