Posted on: 1/5/2014 1:48:02 PM | Views : 599

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 ...