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.  information about a folder in unix

    Posted 02/19/07 09:35 AM

    hi,

    i have my IS installed in Unix box, i want to get the information about a folder or a drive in Unix system into Wm Developers pipeline. The information must be the same which we get while typing a dir or ls command in command prompt.


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 2.  RE: information about a folder in unix

    Posted 02/19/07 06:01 PM

    Create or use a service that uses the java.io.File.list method. If you want to use a filter, for example to match filenames using wildcards, you can find the code to do that on the 'net.

    The PSUtilities package, downloadable from Advantage, has a service to get a list of files and uses JZOOWildcardFilter for wildcard matching.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods