Skip to Content
author's profile photo Former Member
Former Member

Send orders via SFTP

We have a requirement to send order XML's via sftp to our ERP system. What is the best way to do this? After some research I thought that using the Spring integration adapter to build a sftp channel and send the files that way but I've run into an issue setting up the Spring Integration, here is the unanswered post on the error I get:

https://answers.sap.com/questions/12748405/sftpsessionfactory-spring-bean-error.html

Is there a better way to do this? Can I use some accelerator class or just build out a SFTPClient and send a file stream in a java class.

I guess whats the best way to upload a file via SFTP to a remote server?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2015 at 03:15 PM

    Hi Ryan,

    You should check out Data Hub: https://wiki.hybris.com/display/release5/Importing+and+Exporting+Using+the+Data+Hub

    From your requirements, it seems you would need to develop an XML Adapter that would generate the file according to the needed format for ERP and put it on the SFTP. Here is a small guide to setup an export adapter https://wiki.hybris.com/display/release5/Target+System+Adapter+Creation+-+Version+5.5

    You might consider looking for more information and examples, or try out the Data Hub training from Hybris.

    Regards, Armands

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 23, 2016 at 01:02 PM

    The spring issue can be solved by adding the jar "jsch-0.1.53.jar" in lib folder of springintegrationlibs extension.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.