Hi,
Happy New Year.
Trying to enable users to download a music file. But it does not work, may I ask what we are doing wrong?
string soundFolderLocation = ConfigurationSettings.AppSettings["SoundFolder"];
string strURL = soundFolderLocation + soundfile_location;//soundfile_location is definied somewhere else, it is the filename
Response.ContentType = "application/mp3";
Response.AppendHeader("Content-Disposition", "attachment; filename=\"" + Server.MapPath(strURL) + "\"");
&n ...
Go to the complete details ...