RadUpload vs SA-FileUp and disk caching

Thread is closed for posting
2 posts, 0 answers
  1. Robert Columbia
    Robert Columbia avatar
    14 posts
    Member since:
    Jun 2012

    Posted 02 Jun 2010 Link to this post

    We are considering switching from SA-FileUp to RadUpload for file uploads for a new product version.  We use SA-FileUp for its upload streaming capability rather than for UI bling.  SA-FileUp intercepts incoming files and saves them to disk and makes them available to applications, rather than letting the IIS worker process load the entire thing into memory, which has serious scaling problems when hundreds of users are uploading multiple-megabyte files.

    I have two questions:

    1) Does RadUpload have a similar streamlining capability, or is it just a UI widget?
    2) If RadUpload does have this streamlining capability, is it possible to get it even if the user has disabled (or doesn't have) JavaScript? (it would be ok if we had to create our own custom control that interacted with or inherited from Telerik.)  We verified experimentally that, out of the box, RadUpload fails if JavaScript is disabled on the client browser.

    One of the things I dislike about SA-FileUp is the necessity of having special .UPLX web forms - it complicates the UI.  If Telerik can support scalable upload without separate upload web forms, that would be excellent.

    Basically, what i'm looking for is an efficient uploader.  UI bling is nice, but if it crashes after five concurrent 50MB files, it isn't going to be usable.
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 07 Jun 2010 Link to this post

    Hello Robert Andrews,

    For files larger than 4 megabytes ASP.NET and hence RadUpload wont put them into the server's memory but will save them in a temporary location on the server for future use. This mean that you can safely use RadUpload for uploading large files without worrying that it will crash the server. You can verify that this is true if you look at the HttpPostedFile class with a tool like Reflector.

    With respect to your second question, yes, RadUpload returns opened stream pointing to the uploaded file. Example code:

    foreach(UploadedFile file in RadUpload1.UploadedFiles)
       using(Stream stream = file.InputStream)
           //use the stream that points to the uploaded file

    In conclusion, you can safely use RadUpload for large file uploads.

    Kind regards,
    Genady Sergeev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top