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 logging out.

    Posted Wed January 04, 2012 12:17 AM

    Hi All,

    Is it happen in FTP sometimes logging out directly with return code 221, after when the service pub.client.ftp:login calls.

    Because my flow is as below,

    pub.client.ftp:login
    Branch on “return code”
    200:SEQUENCE(Which is suuccessfull)
    $default:SeQUENCE
    Throw an alerts mail.

    Here in my case what happening is, once the service pub.client.ftp:login calls ,
    its directly returing code 221(closing connection)…by saying as below

    Errormessage: Failed in login to host. Error: 221-You have transferred 0 bytes in 0 files. 221-Total traffic for this session was 389 bytes in 0 transfers. 221-Thank you for using the FTP service on server. 221 Goodbye. ######################### Error Message ######################## Failed in login to ***.com host. Error: 221-You have transferred 0 bytes in 0 files. 221-Total traffic for this session was 389 bytes in 0 transfers. 221-Thank you for using the FTP service on host. 221 Goodbye.

    Here without looging in to FTP server its directly closing connection(221), please help me how to stop this error.


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


  • 2.  RE: FTP logging out.

    Posted Wed January 04, 2012 09:35 PM

    You may not have access to the default dir of this FTP site, check with the FTP server admin.
    or you just not provide the right authentication info.


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


  • 3.  RE: FTP logging out.

    Posted Thu January 05, 2012 11:16 PM

    thanks for the info…

    But second time once the service runs…or sometimes its logging in and processing the files successfully…
    without throwing this alerts.

    Do you have any idea, though we received this alerts , is the files are processing ???


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


  • 4.  RE: FTP logging out.

    Posted Fri January 06, 2012 12:51 AM

    Can you provide the following:

    • Version of IS
    • Inputs being passed to the pub.client.ftp:login call; specifically, the newSession input

    What I suspect is that IS is trying to reuse a stale FTP session. The failure clears it and the subsequent call succeeds.

    I normally always set newSession to yes.


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