We're pleased to have you here with us in the servlets forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Hi suresh, Your question is no very much clear to me. What method you are using for file upload... Is it a web based fileupload or you are using swing based socket connection.. If you are using request.getStream() to get the file stream (in servlet) then you have to create a controller servlet which is listing to user and side by side do file uploading process (using thread) and if servlet got cancel event then it should stop the uploading thread.
Same method you can apply in socket based file uploading