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

NiFi ListSFTP File Filter RegEx Not Listing files

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

@Saikrishna Tarapareddy

Try this for your regex ^GroupM_Eclipse.*

View solution in original post

4 REPLIES 4

@Saikrishna Tarapareddy

Try this for your regex ^GroupM_Eclipse.*

Super Collaborator

@Wynner ,

it still not picking those files..

@Saikrishna Tarapareddy

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

Super Collaborator

@Wynner ,

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

; ;