Click to See Complete Forum and Search --> : Uploading a File handler question


gangelo
July 22nd, 2006, 08:37 AM
I have created an .ashx handler using the IHttpAsycHandler interface and am trying to upload a file and monitor the progress. I am reading the bytes from the HttpWorkerRequest in chunks and am able to buffer the whole file.

Here is my problem: I know I need to push the buffer, length of buffer data, etc. back on to the current request, but I do not see how I can do it because it appears that there are no methods or properties appropriate to set. It is also hard to tell if I want to set ISAPIWorkerRequest or SimpleWorkerRequest (is Simple...X used only in the VS dev environment?).

Any help would be appreciated.