Disable chunk upload

2 posts, 0 answers
  1. Heather
    Heather avatar
    1 posts
    Member since:
    Mar 2014

    Posted 30 Nov 2015 Link to this post

    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.

  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 02 Dec 2015 Link to this post


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

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

    Hristo Valyavicharski
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top