Download a File from SharePoint Library by using a Hyperlink

In this blog you will see how to download a file from SharePoint library by using a hyperlink.

I have to provide a link on the page named as “Download Logo” which should download a file (prompt Save, Save As option) from SharePoint images library.

Hyperlink to download a file:

  1. <a href="https://intra.vijai.net/sites/test/_layouts/download.aspx?SourceUrl=https://intra.vijai.net/sites/test/PublishingImages/image.jpg">Download Logo</a>