How can I create a Link, that forcefully begins a file Download?
Example:
In our xwiki are lots of .TXT (or similar Text based files) Files linked.
By a regular xwiki Link, choosing such a Link, just opens a new Browser Tab which shows the Content of the Text File.
In my case, this is not the preferable behavior. I need a Download - not a Browser inline preview.
In HTML there is the possibility, to make a Link forcefully to a download Link.
Like:
{{html}}
Click here to download the Textfile!
{{/html}}
For a standard xwiki link, I see no parameter or Option to do so as well.
By using the HTML Macro, it is … ok, but I looked for a nicer way in xwiki to open up directly a download dialog, because not every regular User knows what HTML is, or what it can do.
I found this Topic:
https://forum.xwiki.org/t/force-an-attachment-to-download/1136/7
But like the last Post says, it doesnt work…
Are there any Ideas, how to handle that?
We are using xwiki 9.11
Thanks for your help!