Vincent, I think from his description, he is wanting to know if there's a way 
to make .csr files prompt to download instead of displaying the contents in the 
browser. I don't think this is an XWiki issue per se. But there might be a way 
of changing the header/filetype descriptor for .csr files? Otherwise I think 
the only other solution is to tell the webserver to not serve the .csr files 
and make them downloadable instead.

This is similar behaviour to text files. They will display the content in the 
browser by default unless you change the content type header or tell the web 
server to allow it to force to download.

Unfortunately I don't know how to make XWiki do this (or tomcat for that 
matter).


Kind regards,

Mahomed




-----Original Message-----
From: users [mailto:[email protected]] On Behalf Of [email protected]
Sent: 01 June 2015 14:22
To: XWiki Users
Subject: Re: [xwiki-users] Content




On 1 Jun 2015 at 15:17:46, Maciej Fokt ([email protected]) wrote:

W dniu .06.2015 o 15:11 [email protected] <[email protected]> pisze:




On 1 Jun 2015 at 15:09:18, Maciej Fokt ([email protected]) wrote:

W dniu .06.2015 o 13:15 [email protected] <[email protected]> pisze:

Hi Maciek,

On 1 Jun 2015 at 12:59:55, Maciej Fokt 
([email protected](mailto:[email protected])) wrote:

> Hi,
> What I have to do... I would like to make a link on page to file, I mean:
> "User have to click link to download". [This link isn't a link to Internet
> page]
>
> I want to add file to the page as attachment for users to download.

Does this help: 
http://platform.xwiki.org/xwiki/bin/view/Features/Attachments#HLinkingtoanattachedfile2Fimage
 ?

Thanks
-Vincent

> Thanks,
> Maciek.

I don't want to show list with attachments for users, I need link which help 
their with download this file
I don’t understand what you’re asking.

The link I gave you allows you to create a link to an attachment and anyone who 
clicks on it will download the attachment.

What do you want exactly?

Thanks

-Vincent


My problem is probably rare :p I would like to add as attachment .csr file, I 
mean Java certificate so... when I click I see many numbers and words. I need 
window with button Download.


Sorry you’re still not being clear for me. I can’t help you if I don’t 
understand what you need :)

Maybe someone else understands?

Thanks

-Vincent


_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to