IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  MFT FIND not case sensitive

    Posted Tue September 26, 2023 01:52 AM

    Product/components used and version/fix level: MFT 10.7

    Detailed explanation of the problem:

    Hi experts,

    On schedule action if we use a FIND action and try to find a specific fliename example *.PDF, the scheduled action event was able to find and return both files with all caps (.PDF) and small caps (.pdf). Is there a way to make the FIND a case sensitive find? LIke the way we do a <> command when searching files in Unix where its a case sensitive search.

    Thanks.

    Error messages / full error message screenshot / log file:

    Question related to a free trial, or to a production (customer) instance?


    #webMethods
    #B2B-Integration
    #Managed-File-Transfer


  • 2.  RE: MFT FIND not case sensitive

    Posted Tue September 26, 2023 07:05 AM

    Hi Paul,
    Yes, this is case insensitive. However, you can use regular expression for your use case. Unfortunately, there is no option to specify if the regular expression is to be used.
    So you will have to specify this in a particular format, that is REGEX:<search_string>.
    Please use following value in filename field: REGEX:(?-i)\w+.PDF$

    This will return you only the files ending with .PDF

    Please let me know if this does not help.

    Thanks,
    Bhaskar


    #webMethods
    #B2B-Integration
    #Managed-File-Transfer


  • 3.  RE: MFT FIND not case sensitive

    Posted Fri October 06, 2023 08:47 PM

    Thanks a lot Bhaskar, this is very informative and do works. Thanks a bunch.


    #B2B-Integration
    #Managed-File-Transfer
    #webMethods


  • 4.  RE: MFT FIND not case sensitive

    Posted Mon October 09, 2023 01:22 PM

    I’m curious as to the scenario where the difference between 2 files being only the character-case of the last 3-chars is meaningful.


    #B2B-Integration
    #webMethods
    #Managed-File-Transfer