Daniel Stieglitz created NIFI-15324:
---------------------------------------

             Summary: Allow DeleteFile to delete empty directories
                 Key: NIFI-15324
                 URL: https://issues.apache.org/jira/browse/NIFI-15324
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


Create a new property "Delete Empty Directory" whose default value will be 
false.

If set to true, then after successful deletion, an attempt will be made to 
delete the directory where the deleted file was located. Ensure directories 
still containing files do NOT get deleted.

If file deletion succeeds, then send the flowfile to SUCCESS whether directory 
deletion succeeds or fails. If directory deletion fails, only log a message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to