Click here to Skip to main content
15,905,967 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all,

i want to download the .sdf file using hyperlink like

Click here

but when i click on this link it is not downloading even the file is there.

How can i achieve this?

many thanks
Posted

1 solution

To create a download via a click, you can't use HTML, you need to use PHP, ASP.NET, etc, to write a content type that forces your browser to download the file.
 
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