commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Usifer" <oscaru...@programmer.net>
Subject [FTPClient] How to set connect timeout
Date Fri, 20 Jul 2007 00:27:54 GMT
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


Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message