Hi ,
Please find the sample flow for List SFTPand Fetch SFTP processor and put into target HDFS path.

1. Processor ListSFTP - Keep listening input folder for example /opt/landing/project/data from Fileshare server. Once a new file arrival , the listsftp takes only name of the file and pass to FetchSFTP nifi processor to fetch the file from source folder.
Properties to mention in ListSFTP processor are highlighted below

2. Once latest file has been idenified by ListSFTP processor , the fetchSFTP processor to fetch the file from Source path.
Properties to configure in FetchSFTP processor.

3. In PUTHDFS processor , please configure the highlighted values of your project and required folder.

If your cluster is kerberos enabled , please add the kerbers controller service to access HDFS from NiFi.
4. Success and failure relationship of the PutHDFS nifi processor can be used to monitor the Flow status and status can stored in Hbase for queering flow status.