Skip to content Skip to sidebar Skip to footer

Phonegap Chunckedmode True Upload Error

here's my javascript phonegap code, and, when i try tu upload a little file with the chunckedMode = true, the ft.upload redirect on the error handler. I don't really understand wh

Solution 1:

I finally solved my problem :

Step one :

Download NGINX Chunkin Module : https://github.com/agentzh/chunkin-nginx-module

Step two :

reconfigure nginx with --add-module=/path/to/the/module

Re-install it..

Step three :

Go to the vhost configuration file add this (code into the braces) :

server {
        chunkin on;
        error_page 411 = @my_411_error;
        location @my_411_error {
            chunkin_resume;
        }
        ...
      }

Now your nginx server accept the chunked mode file transfer.

Post a Comment for "Phonegap Chunckedmode True Upload Error"