I keep getting this errormessage:
Synchronous calls are not supported on non-blocking sockets. Set Blocking=true or use the asynchronous methods.
It happens after I started to try to use CheckConnectionState(). I first expected CheckConnectionState() to raise an Exception when there was no connection, but that didn't seem to be the case, so I tried it the other way around. Now I (still) don't get an Exception, but when I call Login after CheckConnectionState() I get the above message.
I don't understand the message at all, it doesn't seem to have anything to do with anything.
Also I cannot find any reference to Blocking anywhere?
My problem is, that I keep loosing my connection to the ftp-server. I tried several servers and it seem to be the same with them all. I tried KeepAlive() and GetCurrentDirectory(), but I still have to connect and login again.