Can I use some combination of HttpHandler and HttpModule to create an asynchronous file upload?

Posted by scottm on Stack Overflow See other posts from Stack Overflow or by scottm
Published on 2010-05-22T02:23:51Z Indexed on 2010/05/22 2:30 UTC
Read the original article Hit count: 389

Filed under:
|
|

I am trying to write a simple asynchronous file upload control for ASP.Net. I've tried a few implementations out there (AjaxControl Toolkit Async Upload, Telerik RadAsyncUpload, AjaxUploader, Uploadify, etc.), but they all leave me wanting something more. I'd rather not use a Flash component, a simple throbber would be OK. Some don't have client side call backs.

I figure you can make an http module that checks the request form's enctype and files collection on BeginRequest and save those files to disk. Then somehow use an httpHandler to poll the module's status but I can't quite figure out how to put it all together asynchronously. Can you help me arrange the pieces?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about AJAX