Hello,
Thanks for the answer
When the first chunk is uploaded the server retrive a id.
During the event Chunksuccess, we get the id.
We want to send the id of file for every chunk because we have multiple backend server for upload.
Use Case:
If two different user upload a file with the same name and same size.
When the first request for chunk arrives on the server, the server save the filemame and path in database and return the id for the file.
The chunk is save as filename "id + filename + chunkIndex".
If we dont have the id for the next chunk and the request go on another server, it does not work.
Have a good day
Best regards Yohann