It depends on your browser settings and plugins, however, if you use php, you can make a script to download a file like this:
<?php if (isset($_GET['file'])) { $file = $_GET['file'] ; if (file_exists($file) && is_readable($file) && preg_match('/\.mp3$/',$file)) { header('Content-type: application/mp3'); header("Content-Disposition: attachment; filename=\"$file\""); readfile($file); } } else { header("HTTP/1.0 404 Not Found"); echo "<h1>Error 404: File Not Found: <br /><em>$file</em></h1>"; } ?>
save it as download.php
then create a link like this
<html> <body> <a href="download.php?file=test.mp3">download</a> </body> </html>
Now he must work, have a good day.
source share