Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

December 4, 2007

FTP: ReadTimeout and IdleTimeoutMs on Connect


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.


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.

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.