Chunk Upload Resume Capability

1 Answer 27 Views
Upload
Matthew
Top achievements
Rank 1
Matthew asked on 12 Nov 2024, 04:17 PM
I am trying to implement a way for resuming a chunk file upload based on the last successfully uploaded index (assuming that the .remove() functionality was not used to delete the previous attempt from the server). ChatGPT seems to think this is possible by setting chunkIndex property of e.data in the upload function, but that doesn't seem to affect the starting index based on the ChunkIndex passed in the MetaData property of the subsequent API call. Is there a way to set the starting index of a chunk upload?

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 15 Nov 2024, 10:59 AM

Hi Matthew,

At present, the Upload does not offer an option to resume the file upload from a specific chunk. There is a related Feature request and below you will find a link to it. I would encourage you to cast your vote and also add a comment describing in details your scenario and the functionality you would like to achieve. 

https://feedback.telerik.com/aspnet-mvc/1651609-start-uploading-from-a-specific-chunk-index

I hope this helps. 

Regards,
Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Matthew
Top achievements
Rank 1
commented on 02 Dec 2024, 03:05 PM

Thank you for the reply. I actually looked into the possibility of doing this manually, but the problem I ran into was that without the UID from the original attempt, there's really no way to know for certain that the file is the exact same file that was previously attempted. It would require a combination of backend and frontend work that was beyond what I wanted to do to achieve the desired behavior.
Tags
Upload
Asked by
Matthew
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or