Skip to Content

Config.s for handling file attachment from web URL using HTTP_AAE adapter in Sender channel

Hi Experts,

I have a requirement like need to pick a file posting through web URL and place it in target folder. A passthrough scenario. Using HTTP_AAE adapter to pick the file from web URL.

We are using SAP PI 7.31 single stack.

Please assist what are the configurations required from PI end at sender comm. channel.

Regards,
Raj.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Jun 16, 2017 at 09:27 AM

    A straight answer to your question: It is not possible to use the HTTP adapter to pick up files from an FTP site as FTP and HTTP are two entirely different protocols. Any person stipulating technical requirements in your client's IT department should be able to understand that.

    If you can share a bit more details about the system you are trying to connect to as well as the requirements provided by your client or the specific concerns they have around using the file adapter, we may be able to comment further.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 16, 2017 at 11:32 AM

    Hi Raj,

    As the others already described, the requirement is simply not possible. Try to explain to your client to use SFTP and if they still don't accept that, you need to explain them there is no workaround, they want to use a completely different protocol that is not capable of performing their requirement.

    Best regards,

    Mate

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 16, 2017 at 10:14 AM

    Hi Raj!

    And how should you get that file from source location? By https link?

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi All,

      Thanks for all your support.

      I had a conversation with client person and explained the scenario and now they are agreeing to send file as attachment through web page. So no point of FTP server picking now.

      For this case, may I request to know what are all the configuration changes at Sender HTTP_AAE adapter level required to do the same pass through scenario.

      Thanks,
      Raj.

  • Jun 16, 2017 at 08:14 AM

    Raj,

    You need to understand the functionality of HTTP_AAE and File adapter . You usually use HTTP_AAE to connect to static web service/page.And File adapter to connect the File server .

    So what is you intention of using HTTP_AAE for FTP server ?

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • Raj,

      When you say SSL authentication as well then i believe its FTPS server you can use SSL here but SFTP it would be SSH.

      AFAIK you cannot connect File Server with HTTP / SOAP.

      Br,

      Manoj

  • Jun 16, 2017 at 09:27 AM

    Hi,

    I guess the Client is not accepting since only FTP is not secured ..You can go For SFTP which has almost same capabilities as FTP and it is secured .

    And Normally To pick up the files from FTP location FTP/ FTPS/SFTP will be used.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Gurudatta,

      Yes, due to security concerns itself, they are not accepting to use FTP and we too recommended to go with SFTP. But they don't have SFTP setup and suggesting to proceed with HTTP_AAE.

      Regards,
      Raj.

  • Jun 16, 2017 at 12:59 PM

    Hi All,

    Thanks for all your support.

    I had a conversation with client person and explained the scenario and now they are agreeing to send file as attachment through web page. So no point of FTP server picking now. So updating the main post correctly.

    For this case, may I request to know what are all the configuration changes at Sender HTTP_AAE adapter level required to do the same pass through scenario.

    Thanks,
    Raj.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 16, 2017 at 01:17 PM

    Hi Raj!

    You can use file-to-file scenario with OS command in sender channel. Use the script to get the file by link and place it to any folder.

    https://blogs.sap.com/2010/01/22/pixi-how-to-get-an-xml-file-from-a-web-page-without-own-development/

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Evgeniy,

      Without using OS based script, may I know any standard procedure using HTTP_AAE adapter at sender comm. channel which will fetch the file attachment from web URL. As I described above, only PI interface need to pick and place in target directory.

      Thanks in advance.

      Regards,
      Raj.