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

RadUpload vs SA-FileUp and disk caching

1 Answer 86 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Robert Columbia
Top achievements
Rank 1
Robert Columbia asked on 02 Jun 2010, 05:48 PM
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.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 07 Jun 2010, 04:02 PM
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.
Tags
Upload (Obsolete)
Asked by
Robert Columbia
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or