On 3 Jun 2015 at 18:32:59, Sergiu Dumitriu (sergiu@xwiki.org(mailto:sergiu@xwiki.org))
wrote:
You need to add a parameter in the URL:
force-download=1
I don't know how you built your URL, but if you're using wiki syntax,
this works:
[[Get the file>>attach:Space.Doc@file.csr||queryString="force-download=1”]]
And I have now documented it at:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Standard+URL+Format#HPara… (following
our strategy
at
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforan… ;)).
Thanks
-Vincent
On 06/01/2015 09:21 AM, vincent(a)massol.net wrote:
>
>
>
> On 1 Jun 2015 at 15:17:46, Maciej Fokt (maciek.fokt(a)taxi123.pl) wrote:
>
> W dniu .06.2015 o 15:11 vincent(a)massol.net pisze:
>
>
>
>
> On 1 Jun 2015 at 15:09:18, Maciej Fokt (maciek.fokt(a)taxi123.pl) wrote:
>
> W dniu .06.2015 o 13:15 vincent(a)massol.net pisze:
>
> Hi Maciek,
>
> On 1 Jun 2015 at 12:59:55, Maciej Fokt
(maciek.fokt@taxi123.pl(mailto:maciek.fokt@taxi123.pl)) 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#HLinkingtoana…
?
>
> 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