Solved

How do I allow mov download

Posted on 2011-02-15
8
546 Views
Last Modified: 2012-05-11
We have to upload files to our web server and then create links so clients can download then - just basic text a href links.  When the file is a .mov file the links do not seem to work - we get a cannot open file when right clicking on the link and choosing save as.  Is there a way to fix this
0
Comment
Question by:CTL1989
8 Comments
 
LVL 5

Expert Comment

by:Noduzz
ID: 34901216
Have you tried this on more than one machine and/or browser?
0
 

Author Comment

by:CTL1989
ID: 34901260
Yes various browsers and machines.  The links work if the file is wmv, ppt, xls etc, just not mov.  if we rename the file from .mov to .wmv it works.
0
 
LVL 5

Expert Comment

by:Noduzz
ID: 34901561
what kind of web server are you using?
0
 

Author Comment

by:CTL1989
ID: 34901589
windows server 2008, page is .aspx, asp.net 2
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 5

Expert Comment

by:Noduzz
ID: 34901662
have you tried a simple html page to see if the problem is only related to the asp page?
0
 

Author Comment

by:CTL1989
ID: 34901948
i'll give that a go when I'm in work tomorrow
0
 
LVL 14

Expert Comment

by:Designbyonyx
ID: 34902229
The best thing to do is create a download handler (.aspx) file that will stream the file back out to the end user.   You then create links like:

http://domain.com/download.aspx?file=url/encoded/path/to/file.mov

Then, in your aspx file, you check to make sure that the file is safe for download, set some headers, and stream the data to the browser.
0
 
LVL 3

Accepted Solution

by:
pete-mcpetey earned 125 total points
ID: 34908674
You will need to add the MOV MIME Type:

http://technet.microsoft.com/en-us/library/cc725608%28WS.10%29.aspx

Add it as type mov/quicktime or as type application/octet-stream (octet-stream will just let you download the file, but not play it directly prior to download).

Preferred method (from the server), use the article above:

1

Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see Open IIS Manager (IIS 7). For information about navigating to locations in the UI, see Navigation in IIS Manager (IIS 7).

2

In Features View, double-click MIME Types.

3

In the Actions pane, click Add.

4

In the Add MIME Type dialog box, type a file name extension in the File name extension text box. For example, type .mov.

5

Type a MIME type in the MIME type text box. For example, type mov/quicktime.

6

Click OK.

Secondary Method (For forum readers on shared hosting, that cannot adjust MIME types in IIS):
If you cannot administrate IIS 7 directly, IIS 7 (Windows Server 2008 + 2008r2) allows you to adjust the MIME type in web.config.

http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx
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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

911 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

28 Experts available now in Live!

Get 1:1 Help Now