Good afternoon,
I'm currently running Telerik UI for ASP.NET AJAX R3 2023. I am using the RadAsyncUpload with a AsyncHandler.ashx to copy the file to a RadUploadTemp on a file share.
This has been working perfectly for ages but recently large file updates have been failing e.g. a 2.1 GB file failing at 61%. I'm being told this is due to a TCP Zero Window issue.
I assumed the chunked upload mechanism mitigates the issues caused by TCP window size restrictions, which can cause slowdowns or failures when uploading very large files in a single request. I am setting the upload ChunkSize value to 4194304.
I have the following settings in web.config:
<system.web>
<httpRuntime maxRequestLength="2097151" executionTimeout="18000"/>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295"/>
</requestFiltering>
</security>
</system.webServer>
Have you got any ideas as to why it might be failing for larger files, or what I can do to the configuration to prevent the TCP Zero Window error by pausing data transmission until the receiver is ready to accept more data?
Kind regards,
Richard
I found an issue where I had a webpage that has an AsyncUpload control and a text field. If the user enters text that contains angle brackets with some text between the brackets, the AsyncUpload throws some type of error.
I was able to reproduce this problem in the Telerik demo:
https://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=asyncupload
Steps:
1. Click "Add new record"
2. In the Image Name field type "test <test.com>"
3. Upload an image file
4. Click checkbox to add record
5. Error occurs.
I'm using server side validation for certain controls on an asp.net web form page, which also contains a RadAsyncUpload control.
When a user clicks save, I check to make sure these certain controls contain a value. If this fails, we stop the save process and display a message to the user.
During this process, any files to be uploaded are lost. I need to retain them.
In the load event following this post back, the RadAsyncUpload control still has the uploaded files, but after fully loading the page, they're gone.
I'm already using the Post back Triggers property and this save button just happens to be the post back trigger.
How can I capture these files and "re-load" them into the control?
I am working with multiple RadAsyncUpload controls, and for each RadAsyncUpload, I use a RadProgressBar to track the progress of the file uploads. However, I am encountering an issue when uploading multiple files to one of the RadAsyncUpload controls. In this case, all the RadProgressArea components display unexpectedly, as shown in the screenshot below.
Can anyone help by providing sample code or advice to handle this case?
Dear Team,
We are currently using Telerik version 2013.1.0.403 in our application. One of our client has highlighted a Unrestircted Fie Upload issue concerning the RadAsyncUpload function.
The impact of the concern is that the RadAsyncUpload's AsyncUploadHandler was
configured with a static key for encrypting form data in file upload requests. This key,
PrivateKeyForEncryptionOfRadAsyncUploadConfiguration, was not changed from its
default value. As a result, an attacker could exploit this by crafting a file upload request
to /Telerik.Web.Ui.WebResource.axd?type=rau with a custom encrypted rauPostData
POST parameter.
This could allow the attacker to upload malicious files and potentially gain unauthorized
access, such as a web shell.
How do we configure the PrivateKeyForEncryptionOfRadAsyncUploadConfiguration, and what is the procedure for doing so?
Thank you in advance for your cooperation.
We have a RadAsyncUpload control on a page. The "Select" button is displayed to allow the user to choose files. All good. What we'd like is a way to detect when the Select button is clicked to clean up other parts of the page.
For example... we also have a RadGrid on the page. The user might have a row open in an EditForm. We'd like to close that edit form when the user clicks the Select button of the RadAsyncUpload control. I don't see an obvious client side event for that, and the Select button doesn't trigger a server side event.
Is there a client-side equivalent for the RadGrid ClearEditItems method that could be called as part of the click event on the RadAsyncUpload Select button?
Any suggestions would be appreciated.
Hi,
Is it possible to upload directly to the TargetFolder when the file is dropped on a dropzone?
I mean, without hitting a submit button first?
Thanks,
Marc