Code example provides only POST-request processing.
GET-requests with validation file status not processed (/upload?file=8562-172094-181.pdf). No code for that provided with plugin.
File-type of the chunks checks working incorrect
first chunk goes with responce:
[{"error":0,"errorCode":0,"completed":false,"size":512000}]
second and other with:
[{"error":"Filetype not allowed","errorCode":0,"completed":false,"name":"8562-172094-181.pdf","size":1875851}]
So, need to use https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php instead. Sorry.
/upload?file=8562-172094-181.pdf
). No code for that provided with plugin.[{"error":0,"errorCode":0,"completed":false,"size":512000}]
second and other with:[{"error":"Filetype not allowed","errorCode":0,"completed":false,"name":"8562-172094-181.pdf","size":1875851}]
So, need to use https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php instead. Sorry.