on 01-12-2007 1:05 PM
Hello everyone,
Our scenarios are
IDOC > XI > FTP over SSH
and
FTP over SSH > XI > IDOC
Since XI 3.0 does not support sftp (ftp over ssh) i am trying to find a way to go round this problem by dumping a file on the xi server using a receier NFS file adapter and then executing an os command that will ssh it to it the target.
Has anyone out there ever tried this before? Has it worked?
How would one go about handling the sender file adapter in order to bring in files?
Thanks in advance
Dimitris
hi,
1. in one of our projects we created a java proxy to transfet files over sftp
2. to receive those files you can use a method like that:
create a simple report in r3 (scheduled) that will invoke a proxy call
(or RFC to r3) this will start a java proxy that will
call the sftp and jut move the files so a standard ftp adapter will pick them
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all,
Managed to get some good ideas.
Dimitris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
<i>Has anyone out there ever tried this before? Has it worked?</i>
>>>Yes, it worked successfully.
There are 2 approaches here.
1) Execute the shell script from the XI, via OS command. Here there may be a chances of the Queue problems, message stuck etc if huge no. of files are tranferred. Because, if script is not executed successfully, then SXMB_MONI will not show the status success. This condition will happen rarely based on the file transactions.
--- Also , advatage is , XI is able to monitor, give the audit information saying the sript has been executed or not etc. To monitor
2) Second approach is , execute the shell script independently from the OS level , independent of XI. Ie. these scripts will run in the batch job in the OS level and it will transfer the files from the directory into required destination.
In this case, XI is not responsible to execute the shells script.
But monitoring of these shell script should be out of XI's scope.
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.