Upload Pause/Resume

Hi,

I will upload assets using the REST API. I will upload large videos in the DAM from mobile devices. Thus, I need to be able to do pause/resume uploads as the connectivity may be inconsistent.

I store my assets in AWS S3 and I know S3 supports pause/resume. I wonder if Nuxeo does too? This is critical for me.

Would you have more information about this?

Thank you Nicolas

0 votes

1 answers

944 views

ANSWER



I don't believe we have such a feature for uploads at the moment.

1 votes



Could I upload my file straight to S3 without going through Nuxeo and then reference the file when I create the document?

Do you think of a possible work around?

11/28/2014

You can get close, you could upload to S3, than in Nuxeo using the Java API get the BinaryManagerService, then get a Binary for the MD5 digest of your file (which will unfortunately download it back to Nuxeo, no way around that at the moment), and using that create a StorageBlob and set that in your document.

Doing better (no re-download) would involve bypassing a few things at lower level in Nuxeo Platform, because for instance various listeners expect to be able to get to the asset to convert it to storyboards or lower-resolution images.

But in theory everything is possible.

11/29/2014