Direct-to-S3 / Azure tus 1.0 resume IndexedDB Golden Retriever 30 locales Webcam & screen capture

Chunked Retry

Failed chunks retry automatically with exponential backoff. Configure the retry count and initial delay.

What you should see: kill your network mid-upload and restore it. The failed chunk is retried up to 5 times with backoff, and only that chunk is resent — not the whole file.
Select a file to begin.
var uploader = CoreUpload.create('#retry-uploader', {
 uploadUrl: '/api/upload/upload',
 chunked: true,
 chunkSize: 2 * 1024 * 1024,
 retries: 5, // retry up to 5 times
 retryDelay: 1000, // initial delay: 1 second
 // exponential backoff is automatic
 autoUpload: true,
 maxFileSize: '200MB',
 onTaskProgress: function(file, percent) {
 console.log(file.name + ': ' + percent + '%');
 },
 onRetry: function(file, chunk, attempt) {
 console.log('Retry #' + attempt + ' for chunk ' + chunk);
 },
 onTaskComplete: function(file) {
 console.log('Upload complete:', file.name);
 }
});