Aryeh Gregor wrote:
On Mon, Nov 24, 2008 at 11:46 AM, Simon Orr wrote:
Excuse my ignorance here but shouldn't it be possible to write an Apache handler to receive the file uploads (so we get instant notification instead on upload completion) and at the same time use the meta data to write basic progress information to the DB - The page then uses (say) an iframe to post the file(s) to the handler which updates the DB. You may need to do an initial hit to the handler to get the ID to track or similar - Depends on design.
This is one way (although we'd likely want to use memcached, not the DB). The other way would be to use Java. Either would work, someone just has to do one or the other. The implementation will be decided by whoever actually does the work.
Instead of an Apache Handler, I'd do it as a PHP module (PHP is still an Apache module, but i feel PHP is the right place to do it).