Ask Your Question
0

Hyperlink for download, not view in browser

asked 2018-03-21 15:59:45 +0200

chris79 gravatar image

Hi, I am using LibreOffice to create a pdf which is working well, but when I add a hyperlink there appears to be no option that specifies a download, I am trying to make a hex file available, but it opens in the browser. In HTML there was a download specifier, is there anything similar?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-03-21 23:37:24 +0200

LibreTraining gravatar image

When the hyperlink link is clicked it hands it off to the browser to handle as it does for that file type.
You can enclose the file in a ZIP which the browser will download.
Or you can use PHP to create a link which will download the specified file.

edit flag offensive delete link more

Comments

Thanks for the answer, I had thought of the zip solution, but as it was a small single file dismissed the idea. Having thought about it a bit more I think I am going to go with it :-)

chris79 gravatar imagechris79 ( 2018-03-22 11:06:03 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-03-21 15:59:45 +0200

Seen: 30 times

Last updated: Mar 21 '18