Support Questions

Find answers, ask questions, and share your expertise

NiFi ListSFTP File Filter RegEx Not Listing files

avatar
Super Collaborator

Hi,

I want to list files that only starts with a word for ex GroupM_Eclipse , and i used this Regex ^GroupM_Eclipse in the ListSFTP file file filter ..but its not picking up any files..any idea why.??

when i dont use any filter , it lists all the files. GroupM_Eclipse_BDM_20170822.csv.gz ,GroupM_Eclipse_BDM_20170821.csv.gz etc..

35381-regex.jpg

Regards,

Sai

1 ACCEPTED SOLUTION

avatar

@Saikrishna Tarapareddy

Try this for your regex ^GroupM_Eclipse.*

View solution in original post

4 REPLIES 4

avatar

@Saikrishna Tarapareddy

Try this for your regex ^GroupM_Eclipse.*

avatar
Super Collaborator

@Wynner ,

it still not picking those files..

avatar

@Saikrishna Tarapareddy

Did you clear the state of the processor after you changed the File Filter Regex?

avatar
Super Collaborator

@Wynner ,

nevermind , i had a typo..your earlier answer worked !!!! Thanks.