Hi,

   +-From: ERAY BALAT <[email protected]> --
   |_Date: Wed, 19 Jan 2011 23:01:37 +0200 _________
   |
   |We have an application that controls SFTP transfers .
   |Our application controls the ftp folders on scheduled  way, and get 
   |the files if exists;but sometimes it hangs  on socketRead. 
   |(there is no regular hang-period)
   |And  we couldn't find a way to solve this yet.Every time  
   |SFTP connection hangs, we need to restart.
   |We try to set timeout , but wasn't solved the problem.

How about enabling keep-alive?  I mean that
  session.setServerAliveInterval(1000);
before session.connect();
  

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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to