Back to product page

Done method


Called when wodFtpDLX finishes some method.

Type

None

Syntax

  • Basic
object.Done Owner, ErrorCode, ErrorText
The Done(object,Owner,ErrorCode,ErrorText) syntax has these parts:
objectAn expression evaluating to an object of type IwodFtpNotify.
OwnerRequired. A wodFtpDLXCom object.
ErrorCodeRequired. A Long value. Code of the error, if any.
ErrorTextRequired. 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.

Platforms

Windows