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.  Pbm with FTP--pub.client.ftp:ls service

    Posted Wed July 23, 2008 11:35 AM

    Hi all

    When I am trying to fetch files from a FTP server for a particular pattern of files,
    using pub.client.ftp:ls

    DirList is returning the error message “550 TAU*.txt: No such file or directory” also same is taking as one entry for the list even though there are no files in the FTP directory.

    Any idea?

    Thanks In advance,
    Mani


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Pbm with FTP--pub.client.ftp:ls service

    Posted Thu July 24, 2008 03:50 PM

    Mani,
    Try using pub.client.ftp:ls without passing the filename parameter and see what shows up in dirlist array.


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 3.  RE: Pbm with FTP--pub.client.ftp:ls service

    Posted Fri July 25, 2008 03:02 PM

    Hi Mani,
    I suppose there is some banner setting in the FTP server, I too faced the same issue. The response might change based on the settings in the FTP server across environments(DEV,TEST,PROD), so I would suggest you to use double checking in your before enter the processing sequence.

    1. Check for dirList is not null, then
    2. always check for the first element is NOT EQUAL to “550 TAU*.txt: No such file or directory”.

    If these conditions are met then that means there is a valid file available for processing. This is what I did as then I was running on tight timelines and I didnt have time to investigate on this so did a work around. I will monitor this post for any solution from others.


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Pbm with FTP--pub.client.ftp:ls service

    Posted Tue July 29, 2008 06:52 AM

    Hi deven/suren

    Thanks for your response.

    Deven,

    When we are not passing filename pattern,dirlist shows null.Expected result.

    Thanks,
    Mani


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB