upload chunks for a large file?

6 posts, 1 answers
  1. Lihong
    Lihong avatar
    20 posts
    Member since:
    Feb 2011

    Posted 07 Apr 2015 Link to this post

    Hello,

    If I want to upload a large file in chunks, is there any suggestion? 

    And, I had an upload control, and is there any method that I can fire "upload" in my code on demand.

          $("#files").kendoUpload({
            async: {
              saveurl: "Mary.aspx?save=1",
              removeurl: "Mary.aspx?remove=1",
              removeField: "removefiles[]",
              autoupload: false
            },
            multiple: true,
            showFileList: true
          }); 

     

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 07 Apr 2015 Link to this post

    Hello Lihong,

    Uploading files in chunks is not supported by the Kendo UI Upload widget.

    Regarding the second question, in order to manually trigger the file upload with the current configuration, you should trigger the click of the "Upload files" button. It could be accessed by it's k-upload-selected CSS class.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Lihong
    Lihong avatar
    20 posts
    Member since:
    Feb 2011

    Posted 07 Apr 2015 in reply to Dimiter Madjarov Link to this post

    Hello,

    Q1. Uploading file in chunks, it's very useful in fact. I learned that browsers have supported API "Blob" and "File" in javascript, Will it be released in next version?

    Q2. I think, if there is an API function (such as uploadSelectedFiles, etc.) instead of the following code, it will be better.

    wrapper.find("..k-upload-selected").triggerHandler("click")

  5. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 08 Apr 2015 Link to this post

    Hello Lihong,

    Regarding the first question, at the moment we don't have plans to support chunk uploading as it will require Silverlight/Flash module for legacy browsers e.g. older Internet Explorer versions.

    As for the second question, thank you for the suggestion. I will pass it to the developers team for review.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Silver Lightning
    Silver Lightning avatar
    44 posts
    Member since:
    Feb 2014

    Posted 13 Apr 2015 in reply to Dimiter Madjarov Link to this post

    If you add this feature. It will be great for the developers. TELERIK needs to prioritize this.

    It will boost up your market sales...

     Cheers.... - Jess

  7. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 14 Apr 2015 Link to this post

    Hello Jesureno,

    I would suggest to place your vote for implementing this functionality at the following User Voice page. This way we will be able to better prioritize the features for development.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready