I've answered another post that is related to this one I think.

For "download URL" I understand something like:

/full/path/to/jcr/node/having/the/bin/content/property/jcr:content/jcr:data

which may not work at all, because I think that the (only) way to get
content out of the repo is with the small code excerpt I've wrote on the
answer I've mentionned at the beginning, something like:

1) get the node having the content
2) get the content resource property
3) get the resource stream and copy the (input) stream to an output stream
4) done.

I hope this answers your question.

wdlcs escribió:
> Hi Michael...what I mean is that having a jcr:content node with a jcr:data
> property (binary content in this property: images,zip files,etc) in the
> content respository , how could I get the download URL for this binary
> content through JCR/Jackrabbit?
>
> Thanks in advance.
>
>
>
>
> Michael Wechner wrote:
>   
>> wdlcs wrote:
>>
>>     
>>> Hi all, I would like to know it's possible to get the download URL of a
>>> binary content in the content repository, 
>>>
>>>       
>> you mean adding images, zip files, etc to the repository through 
>> JCR/Jackrabbit?
>>
>>
>> Cheers
>>
>> Michael
>>
>>     
>>> (My repository content is a
>>> PostgreSQL database).
>>>  
>>>
>>>       
>>     
>>> Thanks in advance.
>>>  
>>>
>>>       
>> -- 
>> Michael Wechner
>> Wyona      -   Open Source Content Management - Yanel, Yulup
>> http://www.wyona.com
>> [EMAIL PROTECTED], [EMAIL PROTECTED]
>> +41 44 272 91 61
>>
>>
>>
>>     
>
>   

Reply via email to