Some of our customers in countries with poorer internet have run into bandwidth restrictions when trying to upload a large number of files (i.e a 100 files) simultaneously.
The files themselves are not very large, but the number of files causes a problem. To get around this, is it possible to set a upper limit on the number of async uploads that may be in progress at any given time?
So that if there are 20 files selected and added, I'd like them to upload in 2 batches of 10.
Thanks,
Roberto
5 Answers, 1 is accepted
You can use the Upload's select event.
http://demos.kendoui.com/web/upload/events.html
http://docs.kendoui.com/api/web/upload#events-select
Dimo
Telerik
Can you please specify which aspect of using the Kendo UI Upload select event is not clear, so that we can improve our documentation?
http://docs.kendoui.com/api/web/upload#events-select
Dimo
Telerik
Multiple files are uploaded in separate requests by default, but not one by one. This may create problems if the files are too many. In this case you can try uploading them in a single request by setting async.batch to true.
http://docs.kendoui.com/api/web/upload#configuration-async.batch
Since you have no control over the sequentiality of the upload process, your only other option is to count the files to be uploaded in the select event and prevent the user from selecting too many files at once.
Dimo
Telerik