HttpHandlers and HttpModules
HttpHandler or HttpModule for file upload, large files, progress indi...
Re: Somebody must know the answer, please help: HttpHandler or HttpMo...
View Complete Thread
Re: Somebody must know the answer, please help: HttpHandler or HttpModule for file upload, large...
Nov 12, 2002 02:31 AM
I briefly researched that problem and I found two possible solutions (other than using ActiveX, Java or .NET DLLs on the client): - open a second upload window (or use an IFRAME) that does the file POST. write a httphandler that handles the upload process on the server. in the while() loop for reading in the file from the stream, write the current number of received bytes into a static variable. use XMLHTTP or a simple page refresh every 5s or so in the first window to call back to the server. have the server read that static variable from the httphandler and return it to the client after the post-back. - use ADO on the client to read in the file and upload it via an IFRAME. I forgot how that exactly worked, but you should be able to find a link on google if you look for 'file upload ADO object' or something similar. hope this help!! Marc