Skip to Content
0

Exclusion mask not working

Nov 15, 2017 at 09:44 AM

66

avatar image
Former Member

We are on PI 7.5 and are using SFTP Adapter, When will have to pick up files with two different names from the same folder. there are three posibilites of Filenames, so when we add the Exclusion mask, all the three get processed.

We did check the cache status and also tried full CPA cache. That didnt help.

File Names:

DELOTOUCH0.GI1205TESTD

DELOTOUCH0.GI1206testus

DELOTOUCH0.GI1080testus

Exclusion Mask : DELOTOUCH0.GI1206*

Can you please help?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Ryan Crosby Nov 15, 2017 at 01:41 PM
1

Hi Pranay,

Your regular expression for the exclusion mask is incorrect because * is a quantifier that means zero or more matches for DELOTOUCH0.GI1206, which does not match the pattern for the file you want to exclude. You can try DELOTOUCH0\.GI1206.* and it will exclude the file that you do not want to pick up. I added the \ character in front of . character because in a regular expression that means any character so if you want it to specifically consider that character it needs to be escaped.

Regards,

Ryan Crosby

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Nov 15, 2017 at 10:58 AM
0

Hello Pranay,

What is the file name configured?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 15, 2017 at 12:30 PM
0

I assume that there are other files with similar names delivered to the input directory that should be picked up by other channels, right? If that's not the case, could you simply scan for DELOTOUCH0.GI* ?

Share
10 |10000 characters needed characters left characters exceeded