I would like to download a file throw the link from my html-page.
I have this file in a folder on the server. I have shared this folder for all. The path to my file, for example is:
//bogn/folder/spi.jar
If I enter the path
file://bogn/folder/spi.jar
directly to the browser URL - then downloading is going successfully.
As I need to download the file from the HTML-page I use link:
<a href="file://bogn/folder/spi.jar" download> Download JAR </a>
The browser asks the question whether to save the file and then ignore saving. I can see the error: Network error.
How I can fix this? Thank you.