05-19-2015 03:55 AM
Is there a way to to get the InputStream of a file without using FileBlob getStream() method? I ask this because when I when I use fileblob getStream() it seems that it copy first the file in a temp file then return a blob. I this will affect the performance of my download because it will download first the file from nuxeo before it response as a file to the client.
05-26-2015 11:06 AM
The Automation Client FileBlob
is always backed by a temporary file at the moment, even before you call getStream
.
05-19-2015 08:24 AM
What version of Nuxeo are you using?
05-19-2015 08:26 AM
Also, which FileBlob are you talking about? The one from Automation Client (if you're using Automation Client), or the one internal to Nuxeo (if you're extending it through its native APIs).
05-26-2015 09:07 AM
I'm using version 7.2. And the FileBlob that I was talking about is from Automation Client
05-26-2015 11:06 AM
The Automation Client FileBlob
is always backed by a temporary file at the moment, even before you call getStream
.
05-27-2015 02:45 AM
Ok so there is no way to get the file without storing it in a temp file first. Thanks for this
05-28-2015 09:59 AM
Without re-coding part of the Automation Client (which is just a REST API client really), no.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.