Solved

How do I allow mov download

Posted on 2011-02-15
8
547 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:CTL1989
ID: 34901589
windows server 2008, page is .aspx, asp.net 2
0
 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

770 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