Sharepoint - Link to "Download a Copy" from a Document Library
The link can be reproduced using the following link, where "Documents" is the name of the library:
http://spsite/_layouts/download.aspx?SourceUrl=http://spsite/Documents/sample.docx
Effectively the download.aspx will read the content of the file you send as the SourceUrl, and render it back to you on the HTTP response.
Hope that helps
I was trying James' solution but was having problems building the correct URL of the document. To get the URL you can:
- Open Dev Tools (F12)
- Open the Network tab
- Click 'Start capturing' button
- Click the download a copy button for the document you want the link for
- The HTTP GET request URL will appear in the network tab.