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
The WebSphere Cast Iron documentation will be updated to detail this. The related infocenter page is: http://publib.boulder.ibm.com/infocenter/wci/v6r1m0/index.jsp?to pic=%2Fcom.ibm.websphere.cast_iron.doc%2Fftp_list_files_activity .html&resultof=%22list%22%20%22only%22%20%22onli%22%20%22files%2 2%20%22file%22
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:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.