Back to product page

Done event


Fires when wodFtpDLX finishes some method.

Syntax

  • Basic
Private Sub object_Done(ErrorCode, ErrorText)
The Done(object,ErrorCode,ErrorText) syntax has these parts:
objectA wodFtpDLX object.
ErrorCodeA Long value. Code of the error, if error occurred.
ErrorTextA 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.

Platforms

Windows