Member since
01-07-2020
2
Posts
0
Kudos Received
0
Solutions
01-13-2020
01:53 AM
Agree with @MattWho . You can use the nifi expression language to choose the certain files from your source. Based on the date or file name you can filter out the files using FetchSFTP processor. i can see in the latest version of nifi expression language is false in ListSFTP processor. to handle your case you have to do it in two steps ListSFTP ==> FetchSFTP (If you want to put dynamic date filters in your source directories). e.g. you can mention the below in Remote file property of FetchSFTP 0000000001_${now():toNumber():minus(86400000):format('yyyyMMdd')}235959_filename this will gives us output as 0000000001_20200112235959_filename. Regards Nitin
... View more
01-07-2020
11:56 PM
Hello @saikrishna_tara @bbende @emaxwell . Thanks for the solution and it worked well for me. I am new to Nifi and got the same problem statement as @saikrishna_tara. I am able to make it till merge content, i can see my files are in parent flow files. but in parent name of files are uuid of the flow files and not the actual name of the file which is processed. I need to put all the parent flow file's actual name via email processor to the outside world. Please let me know in case more details are required. Regards Nitin
... View more