NaniG Posted February 10, 2012 Share Posted February 10, 2012 Hi to all, am getting problem to download the CSV and PDF files. These both files are stored in Test/CustomerName folder and had permission 0755. When am trying to download these two files, it is opening into another page instead of giving the option to download the particular files. Here is the my code.... <a href="Test/CustomerName/test.csv">test.csv</a> <a href="Test/CustomerName/test.pdf">test.pdf</a> I know about the target event functionality in hyperlink. The csv files and pdf files both are opened in the same page instead of downloading option. Please let me know how to get out from these issue. Thanks in advance.... Quote Link to comment Share on other sites More sharing options...
spiderwell Posted February 12, 2012 Share Posted February 12, 2012 you will need to use force download, which involves usually a bit of php: you can read up here: http://www.ryboe.com/tutorials/php-headers-force-download that link was just the top of the list when i googled forcedownload, but it will at least give you the insight of what you need to do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.