IBM Support

IT20067: LIST COMMAND IN SFTP ADAPTER MUST BE CASE INSENSITIVE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • FTP Server Adapter is configured with a local File system as
    Base directory.
    When SFTP client accessing it using command line, LIST
    (ls) command is case sensitive in Windows, while a GET command
    is case insensitive.
    Observations:
    GET command works CASE INSENSITIVE
    LIST (ls) command works CASE SENSITIVE
    Expected Behavior:
    SFTP commands to be case insensitive.
    

Local fix

  • RTC - 528633
    EJ / EJ
    No workaround
    

Problem summary

  • Users Affeted:
    All
    
    Problem Description:
    LIST command in SFTP adapter is case sensitive and must be
    case insensitive.
    
    
    Platform Affected:
    clump_asset
    

Problem conclusion

  • Resoultion Summary:
    
    Solution
    
         /**
    >      *
    >      * @param pattern
    >      * @param candidate
    >      * @return
    >      */
    >     public static boolean patternMatchesWithIgnoreCase(final
    String pattern, final String candidate) {
    >       System.out.println("pettern --->"+pattern + "candidate
    --->" + candidate);
    >         if (pattern == null || pattern.equals("*")) {
    >             return true;
    >         }
    >         final int starIndex = pattern.indexOf('*');
    >         if (starIndex == -1) {
    >             return pattern.equals(candidate);
    >         } else {
    >             return
    candidate.toLowerCase().startsWith(pattern.toLowerCase().substri
    ng(0, starIndex)) &&
    candidate.toLowerCase().endsWith(pattern.toLowerCase().substring
    (starIndex + 1));
    >         }
    >     }
    
    
    Delivered In:
    5020602_4
    5020603_2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT20067

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-05

  • Closed date

    2017-05-12

  • Last modified date

    2017-06-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R526 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
16 June 2017