How to make PDF file to be downloadable in HTML 5 link
<p>I'm using FTP client and just put pdf file on the server in the same place where index.html file exist. Then I create href link just like below:</p>

<pre><code>&lt;a href="myfile.pdf" download class=" btn btn-lg btn-outline"&gt;
   &lt;i class="fa fa-file-pdf-o"&gt;&lt;/i&gt; Download file
&lt;/a&gt;
</code></pre>

<p>And when I click on the link then my browser is trying download pdf file but it return info: "failure - no file". Can somebody explain my what I'm doing wrong? How to make pdf file downloadable?</p>