Abort

Abort 1:

Aborts an existing transfer.

Syntax

METHOD Abort : BOOL
VAR_INPUT
    fbFtpConnection : REFERENCE TO FB_FtpConnection;
    nTransferHandle : UDINT;
END_VAR

Abort 2: Return value

Name

Type

Description

Abort

BOOL

Returns TRUE when the method has completed. Whether the action was successful can be read from the bError variable of the function block.

Abort 3: Inputs

Name

Type

Description

fbFtpConnection

FB_FtpConnection

References the server connection to be used for the operation.

nTransferHandle

UDINT

TransferHandle of the transfer operation that is to be aborted. Is returned when upload or download is called up.