On Friday, February 07, 2014 9:25 AM [GMT+1=CET], Arno Garrels wrote: > On Friday, February 07, 2014 2:20 AM [GMT+1=CET], > twsoc...@kglt.net wrote: > >> WaitUntilReady just loops looking for ftpReady >> and it never happens. >> >> as a quick and dirty fix, in >> DoneQuitAsync, I changed the StateChange from ftpInternalReady to >> ftpReady and put the FControlSocket.CloseDelayed before the >> statechange.
Don't change the State but try to call FControlSocket.Close instead of FControlSocket.CloseDelayed. Does that fix it for you? -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be