I have a web server, and an account let user upload file with user/password.

Is there any way in Java that will upload the file in JAVA if JAVA will write the output then upload on my webserver?

Is this possible?