[
https://issues.apache.org/jira/browse/NIFI-15334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-15334:
------------------------------------
Description:
Currently DeleteSFTP only supports deleting a file but not the ability to
delete an empty directory something which is supported by SFTP with the rmdir
command.{*}{*}
The purpose of this ticket is to allow DeleteSFTP to also delete empty
directories.
was:
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.
> Allow DeleteSFTP to delete empty directories
> --------------------------------------------
>
> Key: NIFI-15334
> URL: https://issues.apache.org/jira/browse/NIFI-15334
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> Currently DeleteSFTP only supports deleting a file but not the ability to
> delete an empty directory something which is supported by SFTP with the rmdir
> command.{*}{*}
> The purpose of this ticket is to allow DeleteSFTP to also delete empty
> directories.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)