hi,

In CRX we solved this problem with CRX providing the "blob factory",
i.e. CRX already creates the appropriate structures for exactly the
upload case, the multipart handler then just uses the blob for writing
the output, too. Unfortunately we never got this into the JCR spec
(IIRC).

Also, moving the temporary file is rarely an performance improvement,
as /tmp partitions are separate from the datastore ones. so the FS
needs to copy the file anyways.

regards, toby

On Tue, Feb 18, 2014 at 3:16 AM, Chetan Mehrotra
<[email protected]> wrote:
> On Tue, Feb 18, 2014 at 3:48 PM, Jukka Zitting <[email protected]> 
> wrote:
>> Something like S3InputStream.getURL() should work just fine for that use 
>> case:
>
> That also would work with the caveat that in between layer do not
> decorate the InputStream in any form.
>
>
>
>
> Chetan Mehrotra

Reply via email to