My requirement is to copy a file that is on windows machine to Linux machine using the IP, User name and password of the windows machine using java code. I have the java code running on linux machine. I want to know the best way to achieve this. What is the procedure to achieve this?