• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 837
  • Last Modified:

Download MP3 rather than playing in browser

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
RenAndStimpy
Asked:
RenAndStimpy
1 Solution
 
IekosCommented:
Have a look at this:

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

Its quite a bit to read but it woks.
0
 
MontoyaProcess Improvement MgrCommented:
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
 
RenAndStimpyAuthor Commented:
Worked perfectly thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now