Hi,
 
I have just started using the Jsch library for SFTP.
 
When I try to run the Sftp example, I get JSchException at the line :
session.connect()
 
The cause of this Exception is java.net.ConnectException : "Connection timed out".
 
How can I resolve this problem and what is the safe timeout value I can give using :
session.setTimeout() before calling session.connect().
 
I would appreciate any help in this regard.  Thanks in advance.
 
Regards,
Preetha.


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software