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:[email protected]||queryString="force-download=1"]]

On 06/01/2015 09:21 AM, [email protected] wrote:
> 
> 
> 
> 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
> 


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to