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.  FTP Zip File

    Posted Wed December 05, 2012 03:50 PM

    Hello,

    Any kind of help on how to ftp a zip file to remote location , will be highly appreciated .

    Also , I am quite new to this tool , and am confused how to generate a zip file .

    Any suggestions would greatly help .

    Thanks ,

    Baharul


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


  • 2.  RE: FTP Zip File

    Posted Wed December 05, 2012 05:20 PM

    You can route/ftp zip file using webMethods public FTP services out of box.

    WmPublic/pub.client.ftp (package/folder services) and set the service inputs per the documentation (BIS userguide)

    public services to use FTP transmission are
    ftp:login (ftp server)
    ftp:cd (remote directory)
    ftp:put (map the local file(full path and remote file (full paths with .zip) or you need to use getFile (loadAs bytes) and then map it to the content object in the put service with naming remote file name) with transferType = binary
    ftp:logout (ftp server)

    Ofcourse always put a Error Handling framework to handle all FTP reason code/failures.

    HTH,
    RMG


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


  • 3.  RE: FTP Zip File

    Posted Thu December 06, 2012 01:52 PM

    Yes that is fine.But I have a number of xml and I want to send it as a zip file to remote location.
    Can you suggest any option how to make a zip with a list of xml data and send via ftp.

    Thanks
    Baharul


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


  • 4.  RE: FTP Zip File

    Posted Thu December 06, 2012 08:05 PM

    For making it zip you can either yous OS level commands via flow service or looking in the PSUtilities package there are sample utilities provided for zip/unzip using java service.

    You may have to get this package download from Empower site or request SAG support if they can provide it for you:

    HTH
    RMG


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


  • 5.  RE: FTP Zip File

    Posted Thu December 06, 2012 10:57 PM

    There is a sample package in the Shareware section that may be useful.

    [URL]wmusers.com


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