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.  SFTP issue

    Posted 10/21/16 05:01 AM

    Hi folks,

    Iam trying sftp a file content from my server to another server, using OpenSSH pub.openssh:sftp.

    Iam able successfully to place the file, but not able to append the content from my file to remote server file.

    Exiting command.

    remotehost:
    user@host

    batchcommands:
    cd …
    Put /eai01/data/sftpsite/FTP/FlatFile/EMIS/Working/ISWA00L.ORACLE.SSP5.POHDR

    Can someone help on append command.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: SFTP issue

    Posted 10/21/16 06:31 AM

    Have you tried cat command?

    First you can place the both file in remote directory and execute the below command and delete the second file.

    like cat f2.txt >> f1.txt

    Check and let me know the result.

    Regards,
    Krishna


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: SFTP issue

    Posted 10/21/16 12:32 PM

    no luck its not working …it says invalid command


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 4.  RE: SFTP issue

    Posted 10/21/16 12:55 PM

    Hi Sandeep,

    which wM Version are you on?

    wM 9.5 and newer has build-in public services for SFTP connectivity.

    See Build-In-Services Guide for further informations.

    Concatening files in sftp is not allowed in your SFTP server.
    Can you provide complete error message please?

    One Option might be to locally combine the files info one and then transfer to sftp server.

    Regards,
    Holger


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 5.  RE: SFTP issue

    Posted 10/29/16 08:40 AM

    Please make sure which ever command you want to execute in the remote server, its been defined in target server host file. If yes, then you don’t get “command not found” error.

    Thanks,


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 6.  RE: SFTP issue

    Posted 10/31/16 05:34 AM

    target server host file means can you name the file format name, Place where it would be available


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: SFTP issue

    Posted 11/02/16 09:32 AM

    Sandeep Raj Deepala,

    Can you provide complete error message for invalid command?


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods