commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <thunderax...@gmail.com>
Subject Re: Commons net 1.4.1 FTPClient java.net.SocketTimeoutException: Read timed out
Date Fri, 08 Dec 2006 05:56:18 GMT
Salehithal, Vinay S. (IS Consultant) skrev  den 07-12-2006 17:18:
> Hello,
>
> Am using the Commons net 1.4.1 FTPClient (code runs on on Java
> 5/solaris) to retrieve some text files from an FTP server. Occasionally,
> I see the following exception:
>
> java.net.SocketTimeoutException: Read timed out
>         :		
> =======
>   

>             lFtpClient.setDataTimeout(1000);
>   

Perhaps this value is too low?  Any particular reason for explicitly 
setting it?

-- 
  Thorbjørn

Mime
View raw message