Hi all,
how can I set a timeout to an ftp connection?
In my program, if I try to connect to an unavailable ftp server the
application hangs (better said waits...).
OS is iSeries's OS400 v5r3 or better.
[code]
FTPClient client = new FTPClient();
client.connect("myhost.com");
//application hangs waiting if no server responding...
client.login("user","password");
//(...)
[/code]
Kind regards
elvisd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]