views:

29

answers:

0

I am currently having a problem using SWFUpload to upload a file and using an HttpHandler to handle the upload. As soon as the Context.Request.File["Filedata"] object is accessed it waits for the entire file to buffer.

This prevents me from quickly validating based on things like the filename. Also I'm mainly concerned because the behavior is so odd. Has anyone ever seen this before?

Edit: Testing several other flash based uploaders (YUI, Uploadify) indicates this happens with all of them so I'm not sure if there is any way to do this differently. It would seem the validation and upload steps must happen separately.