FineUploader / server-examples

Server-side examples for the Fine Uploader library
https://fineuploader.com
MIT License
279 stars 204 forks source link

Issue with Concurrent Chunking #66

Open reallysaurabh opened 6 years ago

reallysaurabh commented 6 years ago

In case of concurrent chunking, first all chunks are stored into a folder, then a write operation is performed and finally I success request is sent back. In async mode, this write operation and sending request to server is not in sync. Therefore, many a times, you will havea request sent to the server with an incomplete file (chunks not properly combined).

FineUploader after sending all the chunks and getting a stored success request, can send a post request to another route "/uploads/chunksdone" to know whether the process is complete. This feature can be used to solve the problem explained in the above paragraph.