FileRemove

FileRemove 1:

Removes a file from the server.

Syntax

METHOD FileRemove : BOOL
VAR_INPUT
    fbFtpConnection : REFERENCE TO FB_FtpConnection;
    sFilePath       : STRING;
END_VAR

FileRemove 2: Return value

Name

Type

Description

FileRemove

BOOL

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

FileRemove 3: Inputs

Name

Type

Description

fbFtpConnection

FB_FtpConnection

References the server connection to be used for the operation.

sFilePath

STRING

Path to the file on the server.