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

MaxFileSize and MaxRequestLength; does it have to match?

1 Answer 74 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Austin
Top achievements
Rank 1
Austin asked on 30 Jan 2013, 08:45 PM
Do the values of MaxFileSize and MaxRequestLength have to match for RadUpload?

Does the value set for MaxRequestLength supersede MaxFileSize to support uploading of large files?

Also does anyone know where the temp files are stored upon upload? Some have said Windows\Temp\.  Are files just stored in the root of that or in a specific folder?  What permissions should it have?

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 04 Feb 2013, 11:25 AM
Hello Austin,

In general the MaxRequestLength specifies the limit for the input stream, while the MaxFileSize property of the RadUpload control specifies the maximum size for each of the uploaded files (as described here). It is also important that teh MaxFileSize property is less or equal to the MaxRequestLength set in the web.config file as explained here.

Considering your other question note that the RadUpload uploads files directly to the assigned folder as explained here in contrast to the RadAsyncUpload that stores the files in a temporary folder. I would also suggest that you refer to the following help topics for more detailed information:

Regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Upload (Obsolete)
Asked by
Austin
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or