Description
-
Fires when wodSFTP finishes a method.
Syntax
-
Private Sub
object_Done(ErrorCode,
ErrorText)
The Done Event syntax has these parts:
| void
*Sftp |
Handle of the created Sftp
instance. |
| ErrorCode |
An Integer value.
Code of the error, if any. |
| ErrorText |
A String value. Text
description of the error, if any. |
Remarks
-
For each method issued by the user (MakeDir, ListDir, DeleteFile...)
this event will be fired to indicate that the method has
completed and what its completion status was. If an
error occurred, ErrorCode will
contain a non-zero error code that indicates the error. In
this case, ErrorText will contain
a string representation of the error - whether it was provided by
the server, your OS or wodSFTP itself.
You can use this event for automated requests. As soon
as you initiate a method, and this event is fired, you
can initiate a new method immediately.
|