[
https://issues.apache.org/jira/browse/NIFI-15334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046431#comment-18046431
]
David Handermann commented on NIFI-15334:
-----------------------------------------
Thanks for proposing this improvement [~dstiegli1]. For implementation, I would
consider a way to support general deletion of a directory, versus just an empty
directory. That keeps the Processor more generic. One option for this is a new
property named something like {{Removal Strategy}} with a default value of
{{FILE}} and an optional value of {{DIRECTORY}}. With the default {{FILE}}
strategy, current behavior would be maintained. With an optional value of
{{DIRECTORY}}, the {{Filename}} property would not need to be configured, and
the Processor would use the {{Directory Path}} property as the target for the
rmdir command.
> 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)