Question:
I’m integrating the Chilkat FTP into my app and I had another question. I’m calling put_ConnectTimeout() with a value of 10 (seconds) right before I attempt to connect to the FTP server. Regardless of this setting it is still timing out after 60 seconds. It seems that put_ConnectTimeout() has no effect.
Answer:
Set the IdleTimeoutMs to 10000 (for 10 seconds).
The ConnectTimeout is how long the component will wait for the TCP/IP connection to be accepted. However, the 1st thing the server does is send a greeting message, which the client must read, and that read is controlled by the IdleTimeoutMs.