Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi I have path of files in my database (SQL) and my files are in that particular path(e.g. C:\abc.pdf) and also file can be of any type(e.g. may be pdf,.txt,excelfile ,image etc) I want to download these by jquery.Please provide any solution.
Posted
Comments
ZurdoDev 1-Aug-13 12:26pm    
You can't force them down to the client so how is your client going to request them?

Refer - Download File Using Javascript/jQuery[^]. It has couple of solutions for you.

Second answer also talks about the jQuery File Download Plugin for Ajax like, feature rich file downloads[^].
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900