Hi, Thank you for your investigations,
+-From: Doug Kent <[email protected]> -------------- |_Date: Tue, 16 Aug 2011 17:45:42 -0400 (EDT) __ | |I was able to find out exactly where the code is hanging; It's right after | the sendWRITE - it must be hanging on the io_in.available() call. |What could cause this? |while(_i>0){ | _i-=sendWRITE(handle, offset, data, 0, _i); | System.out.println("sent data"+data.length); | if((seq-1)==startid || | io_in.available()>=1024){ ... I had not expected that java.io.InputStream#available() will block. Could you please try the following version? http://www.jcraft.com/jsch/jsch-0.1.45-rc6.zip Its internal has been re-implemented. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
