GetActive

GetActive 1:

Provides an overview of current transfer operations.

Syntax

METHOD GetActive : BOOL
VAR_INPUT
    fbFtpConnection : REFERENCE TO FB_FtpConnection;
END_VAR
VAR_OUTPUT
    stTransfers     : ST_FtpTransfersActive;
END_VAR

GetActive 2: Return value

Name

Type

Description

GetActive

BOOL

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

stTransfers

ST_FtpTransfersActive

Contains the number of transfer operations currently in progress.

GetActive 3: Inputs

Name

Type

Description

fbFtpConnection

FB_FtpConnection

References the server connection to be used for the operation.