Solved

Download MP3 rather than playing in browser

Posted on 2010-11-20
3
798 Views
Last Modified: 2012-05-10
Hello!

I have a website that has mp3's on it.  What i'm trying to do is display a link to download the mp3, although what it does instead is play the mp3 in the browser.

Is there something i can do in IIS7 to instruct it to download instead of play on an .mp3 file?
0
Comment
Question by:RenAndStimpy
3 Comments
 
LVL 5

Expert Comment

by:Iekos
ID: 34180046
Have a look at this:

http://webtips.dan.info/force.html

Its quite a bit to read but it woks.
0
 
LVL 19

Accepted Solution

by:
Iammontoya earned 500 total points
ID: 34180056
in IIS admin, open the directory tree that has your files.  Right click, choose properties.  choose 'http headers' tab, click 'mime types'.  click 'new' and enter 'mp3" as the file extension, and 'x-application/attachment' as the type.


0
 

Author Closing Comment

by:RenAndStimpy
ID: 34186119
Worked perfectly thank you!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

762 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

17 Experts available now in Live!

Get 1:1 Help Now