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

Disable chunk upload

1 Answer 69 Views
CloudUpload
This is a migrated thread and some comments may be shown as answers.
Heather
Top achievements
Rank 1
Heather asked on 30 Nov 2015, 04:25 PM

Is there a way to completely disable chunk upload or increase the chunk size for the RadCloudUpload control?

 

I'm using a custom AmazonS3Provider overriding the UploadFile method to modify the file stream before sending it to Amazon. When file is larger than 5mb, it doesn't fire the UploadFile but the UploadChunk and I can't make changes to the file content for each chunk, need to have the whole file stream.

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 02 Dec 2015, 09:26 AM
Hi,

Try to add this code:
<script type="text/javascript">
      Telerik.Web.UI.RadCloudUpload.isFileApiAvailable = function () { return false; }
</script>

It will force CloudUpload to use the IFrame module, where chunks are not supported.

Regards,
Hristo Valyavicharski
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
CloudUpload
Asked by
Heather
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or