Support Questions
Find answers, ask questions, and share your expertise

Error handling ListSFTP

Error handling ListSFTP

New Contributor

How to do error handling for ListSFTP processor (eg. if it fails to connect to SFTP server due to any reason)?  The only connection it shows is "Success".


Re: Error handling ListSFTP

Master Guru


You would need to do this through some other monitoring flow.

When a NiFi components encounters a failure, it will produce a bulletin which correlates to an ERROR log entry.  NiFi has a SiteToSIteBulletingReportingTask [1] which can be setup to send these produced bulletins over Site-To-Site (S2S) to another NiFi or this same NiFi as FlowFiles which can be parsed via a dataflow and notifications sent out via email.




If you found this addressed your query, please take a moment to login and click "Accept" on this solution.
Thank you,