Michael W Moser created NIFI-13159:
--------------------------------------
Summary: Change how PutSFTP handles the REPLACE Conflict
Resolution strategy
Key: NIFI-13159
URL: https://issues.apache.org/jira/browse/NIFI-13159
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Michael W Moser
In the PutSFTP processor, in the specific case when "Dot Rename = true" and
"Conflict Resolution = replace", PutSFTP currently behaves like this:
* if remote filename.txt exists, delete it
* send file to remote as .filename.txt
* rename .filename.txt to filename.txt
This causes filename.txt to not exist on the remote machine while the SFTP
transfer is taking place. This is different than the PutFile processor, which
will wait to replace the file until it has written the "dot file". Is it
possible for PutSFTP to behave like this:
* send file to remote as .filename.txt
* if remote filename.txt exists, delete it
* rename .filename.txt to filename.txt
--
This message was sent by Atlassian Jira
(v8.20.10#820010)