something like

<a href="/path/to/file/location download="true">Download</a>

should work. download="true" is required because if it’s not there, the browser might try to “run” the file (as in, say it’s a PDF the browser will view it, if the download attribute is there it will download it)

View all comments