DeleteFile 2.3.0¶

BUNDLE¶

org.apache.nifi | nifi-standard-nar

DESCRIPTION¶

Deletes a file from the filesystem.

TAGS¶

delete, file, files, filesystem, local, remove

INPUT REQUIREMENT¶

REQUIRED

Supports Sensitive Dynamic Properties¶

false

PROPERTIES¶

Property

Description

Directory Path

The path to the directory the file to delete is located in.

Filename

The name of the file to delete.

RESTRICTIONS¶

REQUIRED PERMISSION

EXPLANATION

read filesystem

Provides operator the ability to read from any file that NiFi has access to.

write filesystem

Provides operator the ability to delete any file that NiFi has access to.

RELATIONSHIPS¶

NAME

DESCRIPTION

failure

All FlowFiles, for which an existing file could not be deleted, are routed to this relationship

not found

All FlowFiles, for which the file to delete did not exist, are routed to this relationship

success

All FlowFiles, for which an existing file has been deleted, are routed to this relationship

USE CASES¶

Delete source file only after its processing completed