Search code examples
javaj-interop

How to write binary file in remote machine using j-interop?


I am using J-interop and java to interact with window remote machine, I am able to connect to the remote window machine using j-interop but do not know how to write binary files to window remote machine. If any one have sample code to do that it will be highly appreciated.


Solution

  • If you can use another Java library then I would suggest you to look at JCIFS. http://jcifs.samba.org/

    I have success to use this library to perform file operations from a Linux node to Windows node (XP, 2003 Server, 7 and 2008 Server).

    Good luck