login about faq


We're using CkoFtp2 to download a large number of files (about 15k). They're downloaded on Async Active mode. After some time, AsyncGetFileStart consistently returns an error saying "Failed to start thread". We've tried creating a new ftp object or using the same one, using the same connection or reconnecting, but the same thing always happens after a few thousands download. It's happening on both iOS7 and 8.

We're out of ideas to diagnose the issue, any idea what could go wrong?


asked Oct 09 '14 at 09:30

sylvain's gravatar image


I think Chilkat FTP was releasing the threads but not the sockets, and the application ran out of them.

Having no answer from the support, we had to redevelop it, so we shouldn't have paid for it!!


answered Oct 13 '14 at 10:35

sylvain's gravatar image


Sylvain, this is a user-to-user forum, and it's possible that no other users have experienced the problem, and have been unable to help. You also failed to provide the minimum level of information that we need to be able to help you (such as a code sample, the contents of the LastErrorText property immediately after a failed Chilkat method call, etc...)

Note that if you have an active Chilkat support license, then you should use one of the official support channels (that is, email support@chilkat.com) if you need immediate assistance.

(Oct 13 '14 at 10:45) jpbro ♦

Thanks jpbro for your comment. In fact I have contacted the support email and never got an answer. I did provide the LastErrorText as "Failed to start Thread". I think it is actually a socket issue, as it used different ports for each files and could not open the 2000th port.

(Oct 13 '14 at 11:51) sylvain

Email was sent requesting sylvain's unlock code, but no response ever arrived. sylvain's support ended in April 2013. Chilkat responds to those under support. Chilkat does not respond to those expecting free support forever. If a problem is well-communicated such that good information is provided to clearly indicate a problem within Chilkat, then Chilkat will respond regardless of support coverage.

(Oct 13 '14 at 16:59) chilkat ♦♦

jpbro is correct: This is a user-to-user forum. It is monitored by Chilkat. If a post from a customer under support is recognized, it is treated the same as private email. If a post asks a good question such that the answer would help many others, Chilkat may respond.

(Oct 13 '14 at 16:59) chilkat ♦♦

I did send the code and the least I could have been expecting was to be informed that we needed to renew our contract, which we would probably have done if we had got an answer. Now we paid for a buggy library, got no answer and are now blamed. I guess any customer would get upset in such a situation.

(Oct 14 '14 at 04:39) sylvain

Hi Sylvain, sorry your experience has left you unhappy, but as a fellow customer I must disagree with your assessment. Chilkat's library is a fantastic value that provides such a wide range of functions for the price that it is hard not to be impressed. Browse this forum and you will see that support is typically excellent when the right information is received to help Chilkat identify and solve the problem. Micro-updates are frequently released to address any issues.

Now you may have found a bug, and I understand that is frustrating, but show me any piece of sufficiently complex software that doesn't have some bugs? Especially for a library that ends up having to interact with all sorts of other potentially buggy software from other vendors/sources (such as the myriad HTTP/FTP/SFP/Etc... servers out there). The important thing is that when bugs are found, they get fixed, and Chilkat does an exemplary job of this typically. The issue is that you still haven't provided enough information for anyone to help you. If you read the side bar, it mentions (at a minimum) posting the full contents of the LastErrorText property immediately after a failing call, as well as ensuring you are working with the latest build of the library (in case the "bug" has already been fixed). I also think it is good form to post a small code snippet that demonstrates the problem, just in case the problem is not due to a bug, but rather a logic/coding error.

Regarding Codejock's non-response - he says he didn't receive the unlock code by email, you said you sent it. Maybe it got eaten by a spam filter? In any case it sounds like you got no response, because Chilkat got no response. Trust me, without getting confirmation of your unlock code, Chilkat would be run ragged helping pirates and other freeloaders frequently (I've personally had people send me private messages on other forums asking me to share my Unlock Code so that they could use the library, try and get support, etc... Naturally I've refused such requests, but you can be sure that some of these people come to this forum trying to suck some free support out of Chilkat. I can only guess at how many "fradulent" requests for support Chilkat gets at the support email address, but I suspect even just responding to all of them would eat up a lot of time.

I should add that I am also a customer who has let my support license lapse. When you do this, you must understand that it is "at your own risk" - you must be prepared to solve your own problems. If you encounter a situation that you think is being caused by a bug, the least you can do is post detailed information to the forum (as described above) and hope that either someone else has experienced the problem and worked around it, or can spot a logic error, or that if it is indeed a library bug then there's a good chance that Chilkat will be able to fix it and release an update. AFAIK since you bought your license before the recent changes to the Chilkat license, you are entitled to free updates for already purchased components, so you will get the fixed build at no extra financial cost - but you must be willing to do your part to help identify and solve the problem (a time cost).


answered Oct 14 '14 at 10:17

jpbro's gravatar image

jpbro ♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 09 '14 at 09:30

Seen: 2,435 times

Last updated: Oct 14 '14 at 10:17

powered by OSQA