Altova FlowForce Server 2024 Advanced Edition

Full path: /system/filesystem/delete

 

This function deletes a file from the path. When invoked from a simple execution step, this function deletes one file at a time. To delete multiple files with FlowForce, enclose the step which calls the delete function inside a For each step, as illustrated in the Copy Files example.

 

Note:It is not possible for FlowForce to confirm directly from the delete function whether a file has been deleted. All FlowForce can do is get a response from the operating system that it is executing a delete command. If the job has subsequent steps that depend upon the deleted file, you will need to check explicitly whether the file still exists. You can you use the list-files function to check that.

 

Parameters

Name

Type

Description

Path

string as directory

The path and file name of the file you want to delete.

Abort on error

boolean

Optional parameter. This parameter determines the outcome of a job in which an error has occurred. If the Abort on error parameter is true, job execution will be terminated. If the Abort on error parameter is false, FlowForce Server will ignore errors and continue job execution. The default value is true.

Working directory

string as directory

Specifies the working directory (for example, c:\somedirectory). If relative paths are used, they will be resolved against the working directory.

 

 

© 2017-2023 Altova GmbH