commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [net] FTP client fails if a modem connection is used
Date Thu, 26 Jul 2012 08:44:42 GMT
On 25 July 2012 18:56, Gregor Schmidt <gregor.schmidt@utanet.at> wrote:
> Hello,
>
> I use the FTPClient class (API 3.0.1) for FTP file transfers. It works fine as long as
the internet connection is fast enough, e. g. 150 kbit/s and above. With a modem connection
at 56 kbit/s I can connect the server but I get a read time out after the transfer of the
file to the server (size 31 kByte). Files on the server couldn't be downloaded at all. Available
FTP programs (WS-FTP etc.) don't have any problems with such a low bitrate connection.
>
> It may be that an appropriate setting of the various timeout values could solve the problem.
Unfortunately I'm not a specialist in FTP or networking in general. The current settings are:
> DefaultTimeout = 0 (default)
> SocketTimeout = 0 (default)
> ConnectTimeout = 0 (default)
> ControlKeepAliveTimeout = 300 seconds, set according to the example in the API description
> ControlKeepAliveReplyTimeout = 1000 milliseconds (default)
>
> Does somebody know an appropriate setting of the timeouts or a different solution for
my problem?

What is the exact error you are getting?

> Best regards,
> Gregor

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message