You could approach this as an HTML problem. Use the target attribute of the form so that when it is submitted the results of the upload CGI are shown in a different window or different frame. This would allow the user, having selected the file, to submit it multiple times. However, that initial selection must be done by the user - the browser will not give you a way around that.