I am currently working on an Android app made with the PhoneGap framework. The app captures a video which is uploaded to a server. I used to set the chunkedMode to FALSE, and for files smaller than 10MB everything works fine. For files bigger than 10MB I get an Out of Memory Exception. To fix that I changed to chunkedMode = true, but right now I always get an connection error (error code 3).
Do I have the change something on the server to accept the chunked mode?
The server is an CentOS server with Apache 2/HTTP 1.1. I use the following line in the PHP (server side) script:
move_uploaded_file($_FILES['file']['tmp_name'], $target)
I really hope someone can help me with this problem.
Thanks!