Hello, thanks for the suggestions, Arno and Francois!
I will try it using ASync calls. I tried ftpWaitUsingSleep but it does not make any difference. But the problem is not a CPU concurrency problem. It is much worse. The main thread calls PeekMessage (in TApplication.ProcessMessage) and Windows does not return from this call for a minute or so!! How on earth can that be ... the worker thread's priority is already tpLower. And everything works fine as long as I copy files locally, but as soon as I use FTP or HTTP or even SSH with any library (ICS, Indy, SecureBlackBox, Clever Internet Suite) the main process stalls. Cheers, Tobias -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be