server-examples
server-examples copied to clipboard
Issue with Concurrent Chunking
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.