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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Question about pub.client.ftp.ls

    Posted 03/10/09 10:06 AM

    Hello! I have a question about webMethods build-in ‘pub.client.ftp.ls’.
    As you know this service retrieves the file list during an FTP session.
    But I found the file list’s defult sequence is order by file name.If I want
    to order by files’ creation time, just like the command ‘ls -lrt’ or ‘ls -lnt’.
    How can I realize it? Thanks a lot in advance.

    Jack.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Question about pub.client.ftp.ls

    Posted 03/10/09 06:17 PM

    Use pub.client.ftp:quote instead of pub.client.ftp.ls. In the input string give the ftp command as input.

    Regards,
    Raju


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Question about pub.client.ftp.ls

    Posted 03/11/09 04:20 AM

    Hello Raju!Thank you very much for you reply.
    I tried use pub.client.ftp:quote,and I worte ‘ls -lrt’ in the input string,but webMethods show:
    ‘<-- 500 ‘LS -lrt’: command not understood.’
    also I tried ‘ls’,‘cd’,wM throw same error.
    Do you know the reason?

    Thanks & Regards.
    Jack.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods