Announcement

Collapse
No announcement yet.

Filename Filter Pattern question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Filename Filter Pattern question

    Hi Guys,

    My channel needs to accept files with two distinct file extensions (".reported" and ".failed"). Is it possible to use a regex in the Filename Filter Pattern on the source tab of a File Reader?

    If so, could someone provide an example?

    Thanks!

  • #2
    Re:Filename Filter Pattern question

    Why you don't create two channels ? I think that is teh easiest way.

    Comment


    • #3
      Re:Filename Filter Pattern question

      You can use a Filter, using the original file name var to filter.

      But it could be a good improvement... ┬┐Could you add it to the JIRA?

      Post edited by: albertosaez, at: 01/19/2008 04:09

      Comment


      • #4
        Re:Filename Filter Pattern question

        Will do. For now, I'll use a Source filter.

        Thanks, Guys!

        Comment


        • #5
          You could have just used this regex - [a-zA-Z0-9]*.[reported|failed]*

          Comment


          • #6
            How to Send Error Msg as email

            Hi All
            i iam developing one channels ie reading database and writing into file ......
            if any error are come i want send a error as mail .......
            without any error no need to send a error as mail ...........
            how solve that one ......
            plz help me...........
            thanx in advance.........

            Comment

            Working...
            X