commons-user  

[FTPClient] How to set connect timeout

Oscar Usifer
Thu, 19 Jul 2007 17:42:11 -0700

Folks, Is there a variable or function I can use to set the FTP
connection time out prior to calls of FTPClient connect ? My situation is
that I may be attempting to connect to an FTP server that is
down/offline, and I'd like the program to abort within 100ms if that's
the case. Thanks,OSCAR

-- 
We've Got Your Name at http://www.mail.com!
Get a FREE E-mail Account Today - Choose From 100+ Domains