You can not access the hardware of your client just by knowing clien's IP address.
You can do one thing here.
Write the server program using sockets and run the application at client machine(Socket server application running at
some port and accepting clients).
You can connect to the clent machine by socket client program and send you file object over socket connection
and then sever program can receive the file object and save to hard disk.
If you have more clinets every client machine should run this socket server application.
Ravi Kiran Va wrote:Your J2EE Application cannot access Harddrive of your client .
Well, a "JEE Application" encapsulates a lot of technologies - so it is possible to interact with client machines. Servlet applications on the other hand typically can't access the client. I say typically since you'll notice Mani uses a path to a networked device. Assuming all appropriate permissions are set up, this code could save a file there.