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.


#TechXchangePresenter
 View Only
  • 1.  FTP -- List files by timestamp

    Posted Tue September 25, 2012 11:31 AM

    I am trying to list files in an FTP directory (using pub.client.ftp:ls) and order them based on timestamp.

    There is an ‘orderby’ input parameter to the ls service, and I am getting files in the correct order. But the service is not listing any files when I use another input parameter ‘filenamepattern’ along with this parameter. I want to be able to use both these parameters together, as I have a filtering criterion as well.

    Is there any work around for this? Please also mention if there is any other way to list the files.

    Thanks,
    Raj


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


  • 2.  RE: FTP -- List files by timestamp

    Posted Tue September 25, 2012 03:15 PM

    I believe you can use both at a time and they are optional…

    what filenamepattern format you are passing?


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


  • 3.  RE: FTP -- List files by timestamp

    Posted Wed September 26, 2012 06:12 AM

    I tried different filenamepatten combinations (Ex: ., *.csv). I am getting proper listing when I pass only filenamepattern or only orderby (timestamp). But when I pass both, I am getting a returncode of 550.


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