'Not allowed to download local resource using form

I have the following form:

<form method="get" action="D:\classes.zip">
    <div class="col-xs-2">
        <input class="btn btn-profil btn-sm" name="downloadZIP" value="D:\classes.zip" type="submit">
        <span class="btn-download"></span>
</div>

I am trying to make the input download the classes.zip when the users clicks on it. But instead I am getting this error:

Not allowed to load local resource: file:///D:/classes.zip


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source