threading problem with SSH2SFTPClient

Daire Garvey dairegarvey@yahoo.co.uk
Tue, 4 Feb 2003 07:29:00 -0800 (PST)


--0-1505193954-1044372540=:66198
Content-Type: text/plain; charset=us-ascii


MaF and Kieran, I've managed to 'fix' my problem for now by using SSH2SFTPClient in blocking mode by creating it thusly..

this.client = new SSH2SFTPClient(connection, true);

..so that I am not using the transmit and receive threads. This is rather limiting, however since my application only needs to do a single operation (send or receive file) per connection I am happy with this solution for now. 

I will test this over-night and see if this solution is stable.

I am still puzzled why the patch did not work for me, and also about that NullPointer exception I was getting.

Anyway, thanks very much both of you for your help! :)

Best regards,

Daire Garvey.



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-1505193954-1044372540=:66198
Content-Type: text/html; charset=us-ascii

<P>MaF and Kieran, I've managed to 'fix' my problem for now by using SSH2SFTPClient in blocking mode by creating it thusly..</P>
<P>this.client = new SSH2SFTPClient(connection, true);</P>
<P>..so that I am not using the transmit and receive threads. This is rather limiting, however since my application only needs to do a single operation (send or receive file) per connection I am happy with this solution for now. </P>
<P>I will test this over-night and see if this solution is stable.</P>
<P>I am&nbsp;still puzzled why the patch did not work for me, and also about that NullPointer exception I was getting.</P>
<P>Anyway, thanks very much both of you for your help! :)</P>
<P>Best regards,</P>
<P>Daire Garvey.</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-1505193954-1044372540=:66198--