On 3 Jun 2015 at 18:32:59, Sergiu Dumitriu
(ser...@xwiki.org(mailto:ser...@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@file.csr||queryString="force-download=1”]]
And I have now documented it at:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Standard+URL+Format#HParameter:force-download
(following our strategy at
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions
;)).
Thanks
-Vincent
> On 06/01/2015 09:21 AM, vinc...@massol.net wrote:
> >
> >
> >
> > On 1 Jun 2015 at 15:17:46, Maciej Fokt (maciek.f...@taxi123.pl) wrote:
> >
> > W dniu .06.2015 o 15:11 vinc...@massol.net pisze:
> >
> >
> >
> >
> > On 1 Jun 2015 at 15:09:18, Maciej Fokt (maciek.f...@taxi123.pl) wrote:
> >
> > W dniu .06.2015 o 13:15 vinc...@massol.net pisze:
> >
> > Hi Maciek,
> >
> > On 1 Jun 2015 at 12:59:55, Maciej Fokt
> > (maciek.f...@taxi123.pl(mailto:maciek.f...@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#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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users