I have an HTML form which contains a TEXTAREA box and submit button. Currently I paste text into the box and click submit and the submitted text is processed by my cgi script. However, I am now running into the problem for the case in which I have to paste a very large block of text. When I paste a very large block of text, the browser (IE 5.0) will freeze for up to 5 minutes before the text is finally rendered in the textarea box at which point I can then click submit and everything works fine. But I don't like waiting 5 minutes waiting for the browser to come back. So I was wondering if there is a way to somehow attach or specify the location of a file (which contains the large block of text) on the HTML form and have that file transferred to the HTTP server so that my cgi script can then process it ?
The solution has to be platform independent. Also, if you have a better idea than transferring the file please suggest it (I am mostly concerned with avoiding the browser freeze up problem).