> { V8.03 InternalReady happens between multiple commands, ignore it }
>         if FState in [ftpReady {, ftpInternalReady}] then begin
> Include ftpInternalReady in the check and it should work again.
> 
> @Angus, why did you change it?  

For the reason documented in the code, the longer version is at the top of the
module:

> Fixed bug in WaitUntilReady that meant some sync methods with multiple
> commands randomly terminated prematurely allowing further commands to
> be sent usually resulting in not ready errors.

TriggerRequestDone is called after each command which sets ftpInternalReady
(except for passive PUT), but this means it's set briefly during numerous async
methods, often after PORT before LIST, GET or PUT has started.  So
WaitUntilReady exits before other commands are done.  I'd been seeing these
errors for many years.

Angus



 




-- 
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

Reply via email to