0

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.

user2335004
  • 121
  • 1
  • 10
  • You already go through the docs? http://j-interop.org/sampleusage.html – Durandal Jan 23 '14 at 06:19
  • Yes, I have already gone through all examples but have not found anything relevant to writing binary file. – user2335004 Jan 23 '14 at 06:26
  • You can try poking through the discussion area on sourceforge too: http://sourceforge.net/p/j-interop/discussion/ A bunch of questions on there that provide sample code – Durandal Jan 23 '14 at 06:48
  • @MagicMan: They have not found any solution for this, all discussion ends up with same result(Exception), what I am getting while trying to write binary data in remote window machine. – user2335004 Jan 23 '14 at 07:14
  • Do anybody have solution for this....any comment will be appreciated. – user2335004 Jan 23 '14 at 11:16

1 Answers1

0

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

beyonddc
  • 1,246
  • 3
  • 13
  • 26