|OK, so I'm using php and thanks to your search suggestion, I've found the solution to my problem. For those interested, keep on reading...|
Assume the mp3 file is called 'myfile.mp3' and its path is the subdirectory 'music' to your web server document directory.
On the web page with the link to the file, create the php tag:
Second, create the file download.php:
// get variables
$saveName = stripslashes($_GET["name"]);
$savePath = stripslashes($_GET["path"]);
// send headers to initiate a binary download
header("Content-Disposition: attachment; filename=$saveName");
header("Content-length: " . filesize($savePath));
// read file
When the user clicks the "download" link, a dialog box pops up.