Back to product page

Abort method


Aborts the current method.

Type

None

Syntax

  • Basic
object.Abort
The Abort(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSFTP.

Remarks

This method aborts the method that is currently executing. This includes file and folder listings, such as ListDir, ListNames, GetFile, PutFile etc..

Once you start a transfer and wish to abort it (for whatever reason), you should just call this method. After a short time (it cannot complete instantly) your transfer will stop with an error 30027 (Transfer aborted) and you will be able to resume your operations later. The connection with the server will not be broken.

Platforms

Windows