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.  FTPing a file

    Posted 09/22/08 10:34 PM

    Hi,

    I want to move few of the files from local drive to FTP location. I know i can use pu.client.ftp service to copy the files but my file names will keep chaning thats my worry. How can i get the file name and then i pas it to FTP service to put the data?

    Thanks
    Atul


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


  • 2.  RE: FTPing a file

    Posted 09/22/08 11:17 PM

    PSUtilities has a listFiles service that can list files on your local drive matching a filter pattern.

    You can then loop over the resulting fileList and use the pub.client:ftp service, passing it the fileName input.


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