Skip to Content
0

file naming schema issue - SFTP adpater

Mar 05 at 09:25 AM

19

avatar image
Former Member

Hi Experts,

I have a requirement wherein, I have to pick the file.

File name is coming like this: VEH196_FIXED_RAW_VHOM.REC.zzz.DAILY.CONFIRM.TXT

where 196 and zzz is changining.

1. I have used, VEH*\_FIXED_RAW_VHOM.REC.zzz.DAILY.*\.TXT, channel is working but file is not getting picked up

2. Used, VEH*_FIXED_RAW_VHOM.REC.* , channel is working but file is not getting picked up

3. Tried, VEH???_FIXED_RAW_VHOM.REC.???.DAILY.CONFIRM.TXT, channel isin error state.

Exception received: java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 5

VEH???_FIXED_RAW_VHOM.REC.???.DAILY.CONFIRM.TXT

I have tried other combinations also but not able to get the correct schema.

would be very thankful if anyone can help me in the same.

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

1 Answer

avatar image
Former Member Mar 05 at 11:30 AM
0

resolved:

VEH\d\d\d_FIXED_RAW_VHOM\.REC\..*\d\d\.DAILY\.CONFIRM\.TXT

Share
10 |10000 characters needed characters left characters exceeded