By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,722 Members | 1,277 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,722 IT Pros & Developers. It's quick & easy.

MP3 downloading

P: 28
Dear all
I would like to know how to write download mp3 file without open with media play.
No in my project i when i click a link window media player will also appear. So, may i want to know how to give down load mp3 file without play with any media software. Plz give me some code. Thz all.
Jun 26 '08 #1
Share this Question
Share on Google+
4 Replies


Curtis Rutland
Expert 2.5K+
P: 3,256
You can stream audio using javascript, flash, silverlight, or even just embedding objects. I don't think you can do it with asp.net.
Jun 26 '08 #2

Plater
Expert 5K+
P: 7,872
So you want the user to download/save the file and not play it correct?
You would need to add the content-disposition header then to the file downloading process.
Jun 26 '08 #3

P: 28
So you want the user to download/save the file and not play it correct?
You would need to add the content-disposition header then to the file downloading process.
May I know about content-disposition header
Jun 27 '08 #4

Plater
Expert 5K+
P: 7,872
May I know about content-disposition header
You sure can :
http://www.google.com/search?source=...nt-disposition
Jun 27 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.