Support Questions

Find answers, ask questions, and share your expertise

nifi sftp

avatar
New Contributor

hello, i want to know if the processor of nifi listSFTP does remove files from path directory after listing them?

1 ACCEPTED SOLUTION

avatar

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'.

View solution in original post

1 REPLY 1

avatar

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'.