Skip to Content
avatar image
Former Member

file naming schema issue - SFTP adpater

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    resolved:

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

    Add comment
    10|10000 characters needed characters exceeded