Uploading huge file in chunks, can I append stream?

cancel
Showing results for 
Search instead for 
Did you mean: 
sriramb
Partner

Uploading huge file in chunks, can I append stream?

Hi,

 

I have a requirement to upload huge files to alfresco via cmis api and due to limitation from the calling application, I'm having to split the source file into multiple chunks. Is there a way I can append the content stream of subsequent chunks to the first stream uploaded?

 

Thanks

Sri

2 Replies
4535992
Senior Member

Re: Uploading huge file in chunks, can I append stream?

Alfresco's CMIS interface has a default maximum upload size of 4GB, you can remove this limitation by adding the following alfresco-global.properties (or docker-compose if you use the docker solution) line as described in the documentation (is not very clear...):

opencmis.maxContentSizeMB=4096 // Instead 4096 put for example 8192 for 8GB

 

sriramb
Partner

Re: Uploading huge file in chunks, can I append stream?

Hi, the limitation is not from alfresco end but the invoking application. So I had to split the uploaded file into chunks and use appendcontentstream. While it works, the size of the appended file seems bigger than the original. Any insights as to why this might happen?