Skip to main content

Delete File

Synopsis

This operator deletes a file at the specified location.

Description

The Delete File operator deletes the selected file if possible otherwise an error message is shown. You can also specify that an error message should be shown if the file that should be deleted does not exist.

Input

通过

It is not compulsory to connect any object with this port. Any object connected at this port is delivered without any modifications to the output port. This operator can have multiple inputs. When one input is connected, another通过input port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The object supplied at the first通过input port of the Delete File operator is available at the first通过output port.

Output

通过

The objects that were given as input are passed without changing to the output through this port. It is not compulsory to attach this port to any other port, the file is deleted even if this port is left without connections. The Delete File operator can have multiple outputs. When one output is connected, another通过输出端口可用which is ready to deliver another output (if any). The order of outputs remains the same. The object delivered at the first通过input port of the Delete File operator is delivered at the first通过output port

Parameters

File

The file that should be deleted is specified through this parameter.

Fail if missing

Determines whether an exception should be generated if the file is missing, e. g. because it already got deleted in the last run. If set to false nothing happens if this error occurs.