Question
How to get list of files from FetchSFTP or any other way as ListSFTP does not take incoming flowfiles
Hi , I am trying to List the files in an SFTP location. Cannot use ListSFTP because listSFTP does not take incoming connection, but the issue for us is the SFTP location is coming from a response of an API. Currently I am using FetchSFTP. but takes only a single input which is a filename, that is incorrect as per the requirements, i need a list of files in a directory.
I came across this ticket [NIFI-4621] Allow inputs to ListSFTP and ListFTP - ASF JIRA (apache.org) which is still in open state.
Is there any alternate way to achieve this? Is there a way to use executeScript and run python sftp ?

