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?

Best regards,
Gregor

Reply via email to