wodFtpDLX ActiveX Control - Done Method (wodFtpDLXCom)
      
 

Description

Called when wodFtpDLX finishes some method.


Return Type

None  


Syntax

object.Done Owner, ErrorCode, ErrorText



The Done Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodFtpNotify.
Owner Required. A wodFtpDLXCom object.
ErrorCode Required. A Long value. Code of the error, if any.
ErrorText Required. A String value. Text description of the error, if any.
Remarks
 
This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to instance of your implementation.

For each method issued by the user (MakeDir, ListDir, DeleteFile...) this notification method will be called 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 notification method for automated requests. As soon as you initiate some method, and this notification method is called, you can initiate new method immediately.