From initial look though, it looked like it was a generic solution...not ideal, but one that might work...
It seems like a pretty generic problem to me, so a generic solution would be ideal in my opinion. I'm going to need one of these soon for myself, and if I end up with anything interesting I will try to put it up on CPAN. I think that there's not much too it though.
I was hoping there might have been an integrated way in mod_perl to do
such a thing as i have seen the apache upload meter before... and that
does a "send a status to the browser while still uploading a file"... so
its not too dissimilar to what i wanted to do...
That's what all of these do: one process does the work, while another one monitors it and shows the progress on a page with an auto-refresh header. The code you posted was continuously writing to a single page instead of doing the refresh, but otherwise it's about the same. UploadMeter looks a bit strange to me in that it opens a pop-up window instead of forking, and it seems to require a patch to Apache::Request. I'm sure it works fine though.
- Perrin
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html