This is a migrated thread and some comments may be shown as answers.

upload chunks for a large file?

5 Answers 137 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Lihong
Top achievements
Rank 1
Lihong asked on 07 Apr 2015, 07:13 AM

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
      }); 

 

5 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 07 Apr 2015, 07:20 AM

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!
 
0
Lihong
Top achievements
Rank 1
answered on 08 Apr 2015, 01:36 AM

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")

0
Accepted
Dimiter Madjarov
Telerik team
answered on 08 Apr 2015, 08:20 AM

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!
 
0
Silver Lightning
Top achievements
Rank 1
answered on 13 Apr 2015, 11:49 PM

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

0
Dimiter Madjarov
Telerik team
answered on 14 Apr 2015, 08:30 AM

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!
 
Tags
Upload
Asked by
Lihong
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Lihong
Top achievements
Rank 1
Silver Lightning
Top achievements
Rank 1
Share this question
or