i have to transfer file from clinet machine to server.

so, actually my need is, client submit form , then that file will go to url like "www.abc.com/ " server receives and store data in database and after that sends new file to that client
but all this transfer must be on secure way.

i have to done that in java only (not in jsp) and this concepts are new for me

so, how can i transfer that file ?

pls, help me......