not able to split a file and send and then join in server

前端 未结 1 579
灰色年华
灰色年华 2021-01-12 16:34

I am uploading file from client side using ajax javascript which i split in chunks and in the server when all the chunks are recieved i join them. But the problem is that ev

相关标签:
1条回答
  • 2021-01-12 17:01

    Blob has some browser version dependent behaviors as documented in Mozilla Developer Network: Blob. Also, this is how it's implemented in IE slice method.

    What this means is that in newer browsers slice's second parameter is not a length, it's an end position.

    Have a look at this question html5 chunk and webworker does not upload anything, which should prove helpful.

    0 讨论(0)
提交回复
热议问题