resume

Resumes the upload of a paused file that is being uploaded in chunks.

Example

<input name="files" id="files" type="file" />
<button id="resume" class="k-button">resume</button>
<script>
  $(document).ready(function() {
    $("#files").kendoUpload({
       async: {
        chunkSize:1100,
        autoUpload: false,
        saveUrl: "http://my-app.localhost/save",
        removeUrl: "http://my-app.localhost/remove"
      }
    });

    $("#pause").on('click', function(e){
      e.preventDefault();

      var upload = $("#files").data("kendoUpload");
      var fileEntry = upload.wrapper.find(".k-file").first();

      upload.resume(fileEntry);
    })
  });
</script>

Parameters

li jQuery

A jQuery object which represents the file that will be resumed.

In this article