I’m just playing around with HTML, and wanted to create a link to access a file in a particular location on the disk (not on the disk where the source code of the web page is located).
I have tried to do the following:
<a href="D:\MyDoc.pdf">Download My File</a>
but this cannot access the file and gives an error.
What can be the problem, and how do I fix it?
Thanks!
This should work! Just add file:/// in the link URL
This will only work if you run the Application offline.