I have a unix machine in my network
I have its IP ,username,pwd.
I need to access this machine from my java class.
(windows to unix, I used putty server to connect unix)
I need to show the list of files which is present in unix particular directory.
plz guide me.
Thanks in Advance
Since you normally use the Putty client (not server) then you can use one of the Java SSH implementation such as JCraft's JSch ( http://www.jcraft.com/jsch/ ) . Google will find you other Java SSH libraries.
Yeah pick your protocol (SFTP, samba, SSH), make sure the unix machine is equipped to service it and find an API for Java that makes it possible to communicate that way - Google can help you there. Its a basic part of your job to do research and make up your own mind.