Hi to all, I have just moved over from indy, so non blocking events are giving me a bit of a headache.
I have a number of files that are uploaded to my custom server. I get an exception raided "Cannot change port if not closed" after several files have been uploaded. In my client I have set multithreaded to true (but not on the server). My server is listening on port 21 and I am not clear why a port change exception is raised. The stack dump on the server is : TCustomWSocket.RaiseException('Cannot change Port if not closed') TCustomWSocket.SetRemotePort('1849') TFtpServer.CommandSTOR($E527EC,???,'testFile23.dat-FS=12','') TFtpServer.ClientCommand(???,???,???) TFtpCtrlSocket.TriggerCommand(???,???) TFtpCtrlSocket.TriggerDataAvailable(???) TCustomWSocket.ASyncReceive(0,[]) TCustomWSocket.Do_FD_READ(???) TCustomWSocket.WMASyncSelect((1025, 1456, 1, 66179, 1456, 0, 1, 0, 643, 1)) TCustomWSocket.WndProc((1025, 1456, 1, 66179, 1456, 0, 1, 0, 643, 1)) XSocketWindowProc(???,???,1456,1) Any help would be appreciated. Sham. -- 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