on 03-02-2009 9:35 PM
Hi,
I have a IDOC - XI - SFTP scenario.
I would be receiving an IDOC and i have to write a file in a FTP server using SSH.
I have decided to do the SSH session using java code.
Now my question is where to put this java code?
Should i use java proxy? But i dont have a jsp or java application as receiver, can i just use the XI j2ee server as a place holder?
How can i use java proxies in this kind of scenario?
Is it possible at all or should i do it from a Java Mapping?
I have decided to do the SSH session using java code.
Now if this is what you have decided then the best way to get this done is;
1. Write the java code as a module and deploy it with your adapter - Not sure how easy this is going to be though.
2. In the java proxy, enable this code - easier i assume.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> I have a IDOC - XI - SFTP scenario.
> I would be receiving an IDOC and i have to write a file in a FTP server using SSH.
> I have decided to do the SSH session using java code.
>
> Now my question is where to put this java code?
>
>
> Should i use java proxy? But i dont have a jsp or java application as receiver, can i just use the XI j2ee server as a place holder?
> How can i use java proxies in this kind of scenario?
>
> Is it possible at all or should i do it from a Java Mapping?
The easiest way but costly is to buy a SFTP adapter from a 3rd party vendor.
The easiest way without cost but a bit of maintenance is this - /people/daniel.graversen/blog/2008/12/11/sftp-with-pi-the-openssh-way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Siva,
Just check these blogs to give you clear picture for SFTP over FTP. Even you can check the FTPS option also.
/people/daniel.graversen/blog/2008/12/11/sftp-with-pi-the-openssh-way
/people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
deploy your ssh code as an module on the adapter engine.
Rgds
joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello all,
Did someone implement the SFTP solution in a module? In which adapter did you place the solution?
Perhaps in a FTP receiver adapter, fooling the FTP part but calling a module with the Java SFTP code?
To put you in context, we already have Java code to retrieve files from an SFTP server, but we don't know where to place it... We know about the possibility of a Proxy solution, but we rather use the module one due to limitations.
Please, more details about the already implemented module SFTP solutions will be very appreciated
Thanks a lot!
Alvaro
Hi Siva,
Several alternatives:
1. Use 3rd party FTP server, like GlobalScape which supports SFTP. From PI just do normal FTP, and in GlobalScape create a script to send it to the target using SFTP
2. Use 3rd party adapters like Aedaptive Solution, which support SFTP. Check this out: [http://www.aedaptive.com/index.php/solutions/sftp-for-sap-netweaver]
3. Create OS script to do SFTP and call the script in FTP receiver adapter.
Regards,
Lim...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.