Reference the link that will help you:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg07254.html
[NET] FTPClient - setDefaultTimeout() and
setSoTimeout()
--------------------------------------------------------------------------------
From: Knepp, Ethan
Subject: [NET] FTPClient - setDefaultTimeout() and
setSoTimeout()
Date: Wed, 28 Jul 2004 06:03:37 -0700
--------------------------------------------------------------------------------
I am trying to set the connect timeout in the
FTPClient. Going by the
Javadocs for FTPClient and FTP, it seems that I want
to call the
setDefaultTimeout(int timeout) just after
instanciating a new FTPClient(),
but before calling connect(server), shown below.
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]