cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous FTP response message

Former Member
0 Kudos

Hi,

I am new to XI, so would welcome some advice.

I have implemented an interface from ECC5 via abap proxy to XI FTP adapter to send files to a third party.

I am using a synchronous interface to check the ftp has been successful.

Because of it being synchronous, I must give a response message type. But as this response is empty, the mapping back is failing.

So, can I have a synchronous interface without a response, or can I fill the response from the FTP action, and if so, how ?

Thanks

Paul

Accepted Solutions (1)

Accepted Solutions (1)

holger_stumm2
Active Contributor
0 Kudos

Hi,

this is difficult, since File adapter are by definition asynchronous.

You can use an Integration Process:

You have an option to run an operating system command after the file operation. Make this operation the creation of a response file. the response file triggers a second PI process.

This second process (Wait for file created) together with the first process forms the semaphore that allows for the synchronous response. (Inside the Integration Process)

This is a bit cumbersome, but I don't now any other way.

regards

-hs

Former Member
0 Kudos

Thank you Holger, not the answer I wanted, but the correct one.

We have implemented as an integration process as suggested and this is working.

Thanks

Paul

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos
I am using a synchronous interface to check the ftp has been successful.

1) FTP receiver cannot be used in a SYNC mode.

2) If your intention is only to check if the connection was established successfully between PI and FTP and the file was transferred successfully then you can see that from status in Runtime Workbench --> Adapter Engine --> Channel MOnitoring.

You dont need to do this manually (even though you can), you can set alerts which can raise an error message in case if anything goes wrong....this is a standard practice followed....no need to make the process SYNC.

If your requirement is to check if the file has been processed successfully by the FTP server then you need to implement a process similar to the one explained by Holger.