Massive Data Aggregation with Perl by Fred Moyer
shows how to do a mod-perl based upload and give the user constant
feedback via Javascript. It's not the entire solution for you, but it should help. Good luck.
Comment on Re: CGI - How to determine content length for multiple files ?