in reply to
(crazyinsomniac) Re: (2) (crazyinsomniac) Re: File upload progress?
in thread File upload progress?
I think that what batmonk is asking for may be possible. (Note that batmonk never asked about resuming file uploads over HTTP; merely about an upload progress report.)
With a non-parsed-header (nph) CGI script, one can send output directly to the client while the script is still running. (As opposed to a normal CGI script, where the server waits until the script closes its STDOUT before sending the output to the client).
Thus, a file upload script with a simple progress report could be implemented by alternately reading a chunk of the uploaded file and printing out a status message. The browser would display all the messages that had been sent.
This assumes, however, that the server doesn't read in the whole request itself and then buffer it for the script. That's the part I'm not sure about.