Click to See Complete Forum and Search --> : download .wav without playing


PatoAzul
12-14-2004, 04:26 PM
I am trying to place wav files on my page for downloading without simply playing them in the browser. I would like a box with the option 'save to disk' to pop up instead of the wav file simply playing when someone clicks on the link.

pawky
12-14-2004, 06:32 PM
i believe you will need to use a server-side language for this. I dont know how to do this, but others can help ya out or you could search for it on google.

toicontien
12-15-2004, 08:54 AM
Use Winzip to make .zip files out of them. The wave files will be compressed a little in file size besides. If you want to go the Server Side route, head over to the PHP or ASP forums and ask there. You could also link to the .wav file and place a note next to the link saying users can right-click and Save Target As (Save Link As) to download the file. Internet Explorer will open the .wav file with a media player automatically if the user has set .wav files to open instead of download. Most every other browser pays attention to the mime-type sent with the file to determine what to do with the file.

In a nut shell, it's all user preference unless you ZIP the files or use a server side language to feed the proper file.