Work is currently scheduled for .NET 9 (late 2024) to address the client-side file size upload limitation.
However, this applies to the InputFile component, which is similar to our FileSelect. I couldn't find any information about the classic HTTP file uploading mechanism.
I successfully uploaded a 3GB file using the TelerikUpload control in .NET 8, so there's not, or isn't any longer, a 2GB limitation.
maxAllowedContentLength appears to be an unsigned 32-bit integer, so we're currently limited to 4GB there.
MultipartBodyLengthLimit is a long integer, so no limitations there anytime soon!
As of this writing, Chrome seems to do better with throughput than FireFox.
But neither come close to using the full bandwidth available.
Maybe chunking or .NET 9 will fix it?
Charles
Posted on:22 Oct 2024 17:28
While we're waiting, rumor has it that .NET 9 will make it easier to do large file uploads?
For reference to anyone coming here, if you are using IIS Express to test, you will need to create a web.config file in the root folder of your project that contains the following:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2048576000"/> <----- your value, in bytes </requestFiltering> </security> </system.webServer> </configuration>
That will get you past the IIS limitation that triggers "413.1 - Request Entity Too Large".
Next, you'll need this in your startup (your version may vary):
services.Configure<FormOptions>(x => { x.MultipartBodyLengthLimit = 4294967296; <------ your value, in bytes. this is 4gb });
I believe .NET still has a 2GB limitation somewhere that you can't bypass. Maybe that'll be fixed in .NET 9?
ADMIN
Dimo
Posted on:10 Oct 2024 08:05
Hi Shaun and everyone,
Indeed, this feature request has become quite popular and we have it on our radar. In the last months, we invested development effort in some other even more popular and resource-intensive tasks such as the Spreadsheet component. Before that it was the PivotGrid.
Our product management is well aware of this Upload feature request and we will consider it in our next product plannings. I am sorry if this takes longer than your own development requirements imply.
The status of each item in this portal is the official source of truth.
My Workaround is to ZIP the File. Shame, shame, shame on Telerik!!!!
Giuseppe
Posted on:30 Nov 2022 13:38
Hi Marin
For me it's a bit frustrating seeing that new controls like "Blazor Signature" are prioritized in favor of an important feature request like big file uploads that has been reported now over 2 years ago.
Best
Giuseppe
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.
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.
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.
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.
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?