Page 1 of 1

How to forcefully download audio file

Posted: Wed Aug 24, 2005 9:39 am
by nagendra
Hi,
I have a site for music and I want to give two options to the users
1. Listen song
2.Download
Listen song works fine ,Problem is with providing forcefully download of audio file.
File downloaded but downloaded file doesn't play in the media player

Media player gives error:
Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.
please give some suggestions

waiting positively for reply.

thanks

Posted: Wed Aug 24, 2005 9:40 am
by feyd
post your code.