LI77033: FTP LIST FILES ACTIVITY IS LISTING DIRECTORY AS FILE WHEN "LIST ONLY FILES" OPTION IS CHECKED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as documentation error.

Error description

  • FTP List Files activity is listing directories as well as
    files when "LIST ONLY FILES" option is checked.
    

Local fix

  • NA. As designed behaviour
    

Problem summary

  • When using the List Files activity and selecting the "LIST
    ONLY FILES" option, in some circumstances, a user is returned
    directories in the listing as well as files.
    
    If the List Only Files (NLST) check box is selected and the
    FTP List Files activity supports the format of the directory
    listing for your FTP Server, a repeating structure of just
    filenames (if supported by the FTP server) is returned in the
    fileListing output parameter.
    The FTP server you are connecting to must support the NLST
    command. The response provided by the FTP server is returned.
    If the FTP server does not support this, then a listing
    including directories is returned.
    
    Anyone experiencing this can work around the problem in the
    following way:
    1. Dont select "List Only Files" option.
    2. Once you get the complete string, use FlatFiles schema and
    ReadFlatFIles activity to get each line as a string.
    3. Parse the String to get the names for only files and not
    directory based on "d" or "-" present in the first character
    in the returned string
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    LI77033

  • Reported component name

    CI PHYS APPL FC

  • Reported component ID

    5725C4700

  • Reported release

    500

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-26

  • Closed date

    2012-11-09

  • Last modified date

    2012-11-09

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

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

Fix information

Applicable component levels



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Cast Iron Cloud integration

Software version:

5.0

Reference #:

LI77033

Modified date:

2012-11-09

Translate my page

Machine Translation

Content navigation