title: Copying and executing local files to a remote server with windows and linux using java
body: <p>What I'm attempting to do is copy a number of files from one host machine to a remote server using java and after the copy is made, I'll execute those files that I transferred.  The host machine may have some dependencies like requiring putty or some other program but I'm hoping that there might be a solution that doesn't require anything installed on the remote side.  And on top of that, this needs to be OS independent, though different methods can be used for different communications. I'll have access to the IP address and admin control (root username and password).</p>
  
  <p>What I've had so far was that for Windows to Windows, I can mount the remote windows drive and access the files that way.  In Windows to Linux, I can use putty or a similar program to ssh into the remote box.  I'll also ssh from Linux to Linux and obviously I won't need putty.  I can't figure out what to do for a Linux to Windows instance that won't require me setting up some ssh method on the remote end.  Any ideas?  Any way (or library) to perform both the copy and/or execute methods that won't even be OS specific?</p>