Samba allows a Linux box to connect to a windows box so that you can see the Windows file system on a Linux box. Does your version of UNIX support Samba? If you can install Samba, then you can use the regular Java file support. I'll bet you will have more trouble with your IT department than you have with developing your application :)
When I say connect I mean should be able to access windows from unix machine using a java program.Sometime back I used a ssh client (SFTP connection) for connecting from one mac book to other but I forgot the api .May you suggest any open source and free java api which will full fill my requirement.
I need to check whether both the systems are connected in windows Network.
I had used an open source ssh client api in java.I was successfully able to connect to linux box from windows machine,but when I tried connecting to windows from unix box.It says connection refused.I had no idea what is the problem ?I had given hostName, userId and password.Any suggestions highly appreciated.
To use SSH you'll need to run an SSH server, and there aren't many SSH servers available for Windows. More importantly, they are never ever installed by default, you'll have to do that yourself. But why not follow the advice you've been given at least twice and use JCIFS in combination with a file share on the Windows machine?