In your HTML directly link to the file which is to be downloaded. i.e. <a href="/files/somefile.pdf">Download Pdf</a>. You will get a pop-up box asking whether you want to save the file or open it directly. Now you want to download it. The solution is to open your .htaccess file and write there few lines according […]