Hi Raghu,
Frankly, that is mostly out of reach for any scripting. The browser is doing the upload, and there is no control over the speed. (well, you can slow it down if you really want, but that is about it.)
The only solution would be is split the string into pieces, and parallel upload those pieces. You need some server functionality to glue them back together.
Regards
Sander