MaxFileSize and MaxRequestLength; does it have to match?

Thread is closed for posting
2 posts, 0 answers
  1. Austin
    Austin avatar
    1 posts
    Member since:
    Jan 2013

    Posted 30 Jan 2013 Link to this post

    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?
  2. Kate
    Kate avatar
    1898 posts

    Posted 04 Feb 2013 Link to this post

    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:

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