|
How to force a file to download simpleHow to force a file to download
Use this very simple click method to force a file to download rather than open.
Replace your file name where it says path to file.
<a href="path/to/file" download>Click here to download</a>
Try it out here clicking this link will ask you to save the file test.htm. Click here to download
|
|