When the client uploads a file, they are creating a regular HTTP request to the server, but it happens to be way more gigantic than usual. Until the whole request has arrived at the server, I don't believe anything will happen with it. I don't even think the request will have started processing. So your server side code will not be able to determine anything about the upload status because by the time it starts running, the request is already at the server. I know of nothing that will allow you to do what you are trying to do. As soon as you hit "Submit", the browser's document is unaccessible so you could not even write something to the current page (i.e. the page where you selected the file and hit "Submit").
I think you might be out of luck. The best you could do is put a message stating that if you choose a really big file, it's going to take a while.
Peter
------------------------------------------------------
Work smarter, not harder.
|