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:rename return codes

    Posted Wed May 26, 2010 08:40 PM

    Hi Experts,

    I have a scenario where I need to check the retrun codes of pub.client.ftp:rename built in service based on the Operating System the files are picked from. My question is whether the ftp rename command will return different return codes for different underlying OSs?
    I am writing a generic code which will read ftp configuration parameters from a config file, login to that particular ftp host and rename the files and the next step is I need to check the ftp return code based on that I need to proceed further with my logic based on requiremnt.

    Please help me out!! Thanks in advance.
    Regards,
    Datta


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


  • 2.  RE: ftp:rename return codes

    Posted Wed May 26, 2010 11:10 PM

    http://www.w3.org/Protocols/rfc959/A3_FTP_RFCs.html

    RFC is your friend!


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


  • 3.  RE: ftp:rename return codes

    Posted Fri May 28, 2010 07:34 AM

    Hi DevNull43,

    Form the below link
    [URL=“/Net/dxcern/userd/timbl/hypertext/WWW/Protocols/rfc959.txt”][COLOR=#22229c]http://www.w3.org/Protocols/rfc959/A3_FTP_RFCs.html[/color][/URL] I could not able to find the exact differences between different OSs for the same ftp commands.
    I have to find out if the same retrun code is returned by different OSs for the same ftp command. I am NOT able to test it bcoz I dont have access to those OSs.

    Regards,
    Datta


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


  • 4.  RE: ftp:rename return codes

    Posted Fri May 28, 2010 04:02 PM


  • 5.  RE: ftp:rename return codes

    Posted Fri May 28, 2010 11:48 PM

    As reamon points out, FTP reply codes are NOT OS dependant.

    If you talk about the text message written after the return code, that is another history.

    The messages are neither OS dependant, but FTP server vendoer/version dependant. After the return code each FTP server can write any text they wish.

    You just need to take care of the return code, and in the RFC you get them plus what they mean.


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