Click here to Skip to main content
16,022,875 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi all,

I have developed web page with a hyperlink.When I click on that link it should open a file in local machine..
please help me.

thanks
Posted

1 solution

You can't open a file on the client computer: security forbids that. But you can use a link to a file url on the server:
HTML
<a href="file://server/share/folder/">folder on server/share</a>
 
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