DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43898>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43898 Summary: recursive scp push may hang Product: Ant Version: 1.7.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] I have tried to transfer a directory structure consisting of a few files and directories and after some items the transfer hangs. I have debugged this and identified the SSH/SCP protocol phase where it got stuck. I changed the code locally as in the attached patch, then it worked: --- ./ScpToMessage.java-orig 2006-12-13 13:16:19.000000000 +0100 +++ ./ScpToMessage.java 2007-11-15 15:39:14.000000000 +0100 @@ -209,6 +209,7 @@ waitForAck(in); sendDirectory(directory, in, out); out.write("E\n".getBytes()); + out.flush(); waitForAck(in); } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]