Unplanned
Last Updated: 27 Sep 2022 00:24 by ADMIN
Jay
Created on: 02 Sep 2020 14:19
Category: Upload
Type: Feature Request
43
Upload file in Chunks - large file upload
The goal is to be able to upload large files (above the server limit which is usually 20-30MB).
14 comments
ADMIN
Marin Bratanov
Posted on: 27 Sep 2022 00:24

Hi Giuseppe,

The best way to get updates and to know when the feature becomes available is to click the Follow button. You will get status update emails - when we know the release that will contain this feature, the portal page will be updated accordingly and you will get an email.

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Giuseppe
Posted on: 21 Sep 2022 08:21

Hi Marin. We have also urgent need for it. Any ETA?

 

Thanks

Giuseppe

Dominik
Posted on: 08 Jul 2022 06:47

Hi Frank,

thanks for your support, but its doesn't work. The App (Blazor WASM, MinimalApi) runs on Azure "App Service".

I added [RequestSizeLimit(256 * 1024 * 1024)] to the controller, but it doesn't work either.

Regards

Dominik

Charles
Posted on: 06 Jul 2022 22:50

It is possible to make this work with the TelerikUpload component.  It's not easy, and doesn't have resume functionality, but it works.  I tested up to about 1.75gb in size.

There are other things you have to change as well to work around IIS restrictions.

Frank
Posted on: 06 Jul 2022 21:16

@Dominik, you can try to increase your file upload size limit allowed by IIS. Here is a starting point, I did something similar: Allow ASP.NET Core & IIS to Handle Large File Uploads | Andyp.dev or IIS File Upload Size Limit - How we increase it? (bobcares.com)

I added this to my Startup.cs:

services.Configure<FormOptions>(options =>
            {
                // Set the limit to 256 MB
                options.MultipartBodyLengthLimit = 268435456;
            });

            services.Configure<IISServerOptions>(options =>
            {
                options.MaxRequestBodySize = 268435456;
            });

I can't recall if I did anything to a webconfig or not, but this should be a start. I think with .NET Core & .NET 5 the <IISServerOptions> might take care of that part. I tested this between networks and had no issues. I think the largest file I tried was just under 1GB in size, but I can't remember.

Dominik
Posted on: 06 Jul 2022 11:47

Hello,

I need an upload for large files now and not in a few years. Blazor has been out for 4 years now and there is no way to upload large files. Are you guys kidding me!!!?

Regards

Dominik

ADMIN
Marin Bratanov
Posted on: 30 Jan 2022 09:38

Hello Jeffrey,

That's what this feature request is about - adding chunking feature to the upload component. To know when it becomes available, click the Follow button. I've added your Vote for you to raise the popularity of this idea (it is one of the metrics our management uses for prioritizing). In the future, if you need a  feature, you can do that yourself by clicking the Vote button.

Regards,
Marin Bratanov
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
Jeffrey
Posted on: 26 Jan 2022 05:22
DevExpress has an upload control that works well with uploading large files if you use their chunking feature.  Telerik needs to add something similar. We dont always have control of the server endpoints. 
ADMIN
Marin Bratanov
Posted on: 26 Jan 2022 04:07

Hello Charles,

The current Upload component depends on the endpoint - how large a request it can handle. So, the configuration for that will vary wildly between endpoints, server technologies and setups. This is something you need to confirm with the developer and hosting service of the endpoint, it does not stem from the Telerik component.

Regards,
Marin Bratanov
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
Charles
Posted on: 26 Jan 2022 00:43

Hi, thanks for replying.

I don't understand.

Are you saying, if configured right, the Blazor upload component will handle files up to 2gb in size?

If so, can you point to me to what to change?

Right now I seem to be stuck. 

InputFile on .Net 6 handles it, but very very slowly, to the point of being unusable.

Telerik Upload works fine for tiny files, but fails instantly with large files.

 

ADMIN
Marin Bratanov
Posted on: 15 Jan 2022 14:40

Hello Charles,

The key point of this component is to offer asynchornous file uploads, something the framework cannot do on its own. It is a fundamentally different approach to the file select component that streams a byte[] to the C# code of the current Blazor app (which can be cumbersome over signalr, for example). For the vast majority of situations, the default limits of web servers suffice, and this is why this chunk upload feature is not implemented yet - we need to prioritize tasks with higher impact and demand first. For the time being, I can suggest you look into increasing the max request size on the endpoint you have in use for such large files for the time being. The typical default on IIS is 2GB, but that can be changed in different places, and you may be using a different server.

Regards,
Marin Bratanov
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
Charles
Posted on: 10 Jan 2022 22:14

Any update on this?

I am VERY disappointed to see this problem exists.  What's the point of the upload control?!?

My application uses large video files between 1 and 2gb in size, and I immediately get "file failed to upload".  Smaller files work fine.

ADMIN
Marin Bratanov
Posted on: 02 Sep 2020 15:00

Hi Jay,

The best way to know when a feature becomes available or its release is known is to click the Follow button on this page. We keep the portal up to date and when we know the release number a certain feature/fix will be available in, we update it and you will get an email.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jay
Posted on: 02 Sep 2020 14:52
Does Telerik have an expected deliver date for this new component?