NeatUpload a nice and useful open source project

Still working on my images gallery project, I got stuck with an issue regarding multiple upload files to my database.

I did a bit of research on the subject, and the problem seems to be the fact that the upload basic methods in .Net 1.1 (and 2.0 I presume) store the bytes in memory. So if your files are big, you face a lot of hazardous timeout and memory issues.

So looking around, you have different solutions like AspUpload or KUpload+. Looking more for an open source solution I recommend NeatUpload developed by Dean Brettle (a new version 1.2.4 has just been released). What I like the most is the Ajax support for the upload progress bar. Great job!

Features

  • Streams uploads directly to storage.  This conserves server memory, allows larger uploads, and helps prevent Denial of Service attacks.
  • Integrates easily with existing applications.  Drag-and-drop the controls using the Visual Studios Web Forms Designer, or replace <HtmlInputFile> with <NeatUpload:InputFile> and add a <NeatUpload:ProgressBar> to your ASP.NET pages.  Then use the properties of InputFile to access the uploaded file and its original name.
  • Supports both inline and popup progress bars.
  • Falls back to using ASP.NET's HttpPostedFile if the NeatUpload HttpModule is not present.  This makes it easy to remove the HttpModule if for some reason it causes problems.
  • Supports customization through styles, custom progress display pages, and custom UploadStorageProviders.
  • Supports AJAX-style refreshless updates of the progress bar.
  • Does not require JavaScript.
  • Works under Mono's XSP/mod_mono and Microsoft's ASP.NET.
  • Removes uploaded files when an error occurs.  This helps prevent disk space leakage.
  • Licensed under the Lesser General Public License (LGPL), a business-friendly open source license.  See below for details.

1 Comment

  • Thanks for the plug! FYI, .NET 2.0 no longer stores the bytes in memory. Requests larger than a certain size are stored on disk. So, for .NET 2.0, NeatUpload's major advantages are support for progress bars and the ability to stream the upload to places other than disk using custom UploadStorageProviders.

Comments have been disabled for this content.