Topic: Last file chunk upload executed 2 times
I am experiencing weird situation with my plupload setup. I am using last version and uploading files by chunks. I am using the uplaod script from examples, it worked fine till now but now I got my self into some weird situation.
I put some log messages in upload.php script and I found out that last chunk is being uploaded two times? Does any one has any idea why this would happen?
Here is my log file where this can be seen
Info - 2012-07-05 09:48:46 --> UPLOADER CALLED
Info - 2012-07-05 09:48:46 --> UPLOADER chunk: 4
Info - 2012-07-05 09:48:46 --> UPLOADER chunks: 4
Info - 2012-07-05 09:48:46 --> Upload size tmp .part file: 190563
Info - 2012-07-05 09:48:46 --> Upload size after rename: 190563
Info - 2012-07-05 09:48:46 --> DXF PROCESS
Info - 2012-07-05 09:48:47 --> UPLOADER CALLED
Info - 2012-07-05 09:48:47 --> UPLOADER chunks: 4
Info - 2012-07-05 09:48:47 --> UPLOADER chunks: 4
Info - 2012-07-05 09:48:47 --> Upload size tmp .part file: 47640
Info - 2012-07-05 09:48:47 --> Upload size after rename: 47640
Info - 2012-07-05 09:48:47 --> DXF PROCESSFrom my log file you can see when 4th chunk is being uploaded the file size iz 190563kb which is the right full size of the file being uploaded. Then I call function DXF prcess which process my uploded file... but then my upload.php gets another request for 4th chunk and I have no idea why?
If I do not call DXF process function inside upload script when last chunk is being uploaded, then there is no another request for 4th chunk again?
Andy hints? I am trying to solve this the last two days, now I am turning to you if someone has an idea where I am missing something!
Thank you,
Jume
Last edited by Jume (2012-07-05 09:01:58)