The ListSFTP processor does not actually do anything with the file, it just builds a list of files that exist.
Typically this would then feed into a GetSFTP processor.
In the GetSFTP processor you can configure whether the original should be deleted, by default this would indeed happen.
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache...
- Dennis Jaheruddin
If this answer helped, please mark it as 'solved' and/or if it is valuable for future readers please apply 'kudos'.