Hi all,

Now the FileBlob is serializable so you can use it for large blobs instead of using ByteArrayBlob The recommended way to create blobs from an uploaded file is to use the method

FileManagerUtils.createSerializableBlob(UploadedFile)

This method is creating a FileBlob (that stores data on a temp file on hdd) if the uploaded data is larger than 64K otherwise it creates a ByteArrayBlob to store it in memory.

Bogdan
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to