Back to product page

AbortTransfer method


Aborts current transfer.

Type

None

Syntax

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

Remarks

This method will stop any ongoing transfers for the user. If you call it when file transfer not in progress, your abort request will be ignored.

You might want to abort transfer because maximum BytesDownload was reached, for example. You can call this method anytime, including all events.

Platforms

Windows