Solved

Download MP3 rather than playing in browser

Posted on 2010-11-20
3
813 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:
Montoya 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

707 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