Page 1 of 1

Uploading Big files

PostPosted:Thu Mar 08, 2012 6:49 pm
by kandil
OKMDocument contains two methods for creating a file, which accepts byte array:
Code: Select all
Document create(String token, Document doc, byte[] content)
Document createSimple(String token, String docPath, byte[] content)
Is there any limit for the content byte[] that can be uploaded?

I may have 1GB, 2GB files to upload sometimes. Will there be any problem or limitation?

Thanks in advance.

Re: Uploading Big files

PostPosted:Fri Mar 09, 2012 12:05 pm
by pavila
Actually you can't upload files bigger than 2GB using Web Services because byte[] size limitation in Java. I have to add a new method with new parameters, but I'm not sure how to deal with this. Perhaps a byte[][]?