Skip to Content
avatar image
Former Member

Synchronous FTP response message

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    May 06, 2011 at 08:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    May 06, 2011 at 12:31 PM
    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.

    Add comment
    10|10000 characters needed characters exceeded