Pipe creation problem: From Java app using rsync + ssh on windows with cygwin

2009-03-25 Thread Derek OKeeffe
Hello, I'm having trouble calling rsync from java on windows vista with cygwin installed. Its strange as pasting the exact same command into a command shell works fine. My test java call looks like this. * String[] envVars = {PATH=c:/cygwin/bin;%PATH%}; File workingDir = new

Re: Pipe creation problem: From Java app using rsync + ssh on windows with cygwin

2009-03-25 Thread Derek OKeeffe
Thanks Michael, Yes Its outputing to the java Process's input stream. This normally works. It works fine in linux. Maybe a problem with cygwin... I tried removing the -progress to see if it would help but to no avail. I think its happening when rsync is opening the ssh pipe to the remote host.

rsync error on Win Server 2008

2009-03-25 Thread Luke
Hi I'm using rsync (ver 3.0.5) to sync a local folder with a folder on a server using SSH and encrypted key files. It works fine on Windows 2000/XP/2003/Vista but not Windows 2008 Server. I get an error like the following: ssh _cygtls::handle_exceptions Error while dumping state (probably