try
<a href="yourpath_to_download.php?file=file.txt" title="Click to download">Click</a>
download.php
<?php
$path = 'yourpath'.$_GET['file'];
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=".$_GET['file'] );
@readfile($path);
?>
file.txt - change with your file name