wodFtpDLX ActiveX Control - Done Event
    
 

Description

Fires when wodFtpDLX finishes some method.


Syntax

Private Sub object_Done(ErrorCode, ErrorText)



The Done Event syntax has these parts:

Part Description
object A wodFtpDLX object.
ErrorCode A Long value. Code of the error, if error occurred.
ErrorText A String value. Text description of the error, if available.

Remarks

For each method issued by the user (MakeDir, ListDir, DeleteFile...) this event will be fired to signalize that method has completed, and that it was (successfully) executed. If error occurred, ErrorCode will contain non-zero error code that determines the error. In such case, ErrorText will contain string representation of the error - if it was provided by the server, your OS or the wodFtpDLX itself.

You can use this event for automated requests. As soon as you initiate some method, and this event is fired, you can initiate new method immediately.