Abort

Aborts an existing transfer.
Syntax
METHOD Abort : BOOL
VAR_INPUT
fbFtpConnection : REFERENCE TO FB_FtpConnection;
nTransferHandle : UDINT;
END_VAR
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. |
Inputs
Name | Type | Description |
---|---|---|
fbFtpConnection | 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. |