To avoid this problem, I must make a 1 second pause and processmessages
before launch a new connection.

The "MakePause" procedure is like:

 

        FTPClient.ProcessMessages()

        intFinish = Timer + 1

        Do While Timer < intTempsFinal

        Loop

        FTPClient.ProcessMessages()

 

Is it natural to do it ?

If I don't do that, onerror trigger return "FTP component already connected"
because Fconnected is set to true.

 

Arnold

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

Reply via email to