cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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.

Accepted Solutions (0)

Answers (7)

Answers (7)

weberpat
Contributor

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.

mate_moricz
Advisor
Advisor

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

former_member190293
Active Contributor
0 Kudos

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.

0 Kudos

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.

0 Kudos

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.

former_member190293
Active Contributor
0 Kudos

Hi Raj!

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

Regards, Evgeniy.

0 Kudos

Hi Evgenity, Patrick,

We are doing manual work by picking file from file server using FileZilla and placing in target directory. We would like to automate the process through an interface. Due to security reasons clients mentioned not to use file adapter.

Regards,
Raj.

former_member190293
Active Contributor
0 Kudos

Hi Raj!

And why not to use SFTP adapter for that? Or do you use FileZilla in FTP mode? Why not to use FTP adapter then?

Regards, Evgeniy.

gurudatta
Participant
0 Kudos

Yes I agree ..if you are using Filezilla in FTP mode Better to use FTP adapter

Thanks,

Guru

manoj_khavatkopp
Active Contributor

Raj,

We understand that why client is not proposing FTP to use as the credentials are sent in plain text over internet you can use FTPS here for secure connection. or SFTP as above suggested.

But you need to understand here the restriction in not from PI end if the Client is ready to expose the Files server as web server then u may use Http/Soap/Rest.

You are literally trying to connect one protocol to other which is not possible. Its like you are trying to send a mail to a person having his phone no and not his mail id which is not supported.

Br,

Manoj

former_member190293
Active Contributor
0 Kudos

And as for me, I can't catch the difference. If FileZilla is used now for manual downloading the file, what's the matter if PI does the same using FTP/SFTP adapter. The process will stay the same. Or the client denies using SFTP adapter for any reason?

Regards, Evgeniy.

0 Kudos

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.

gurudatta
Participant
0 Kudos

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.

0 Kudos

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.

manoj_khavatkopp
Active Contributor
0 Kudos

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

0 Kudos

Hi Manoj,

Thanks for your comments.

I agree with you completely. Even I am in a impression like what was said above.
But Client not agreeing specifically to use file adapter & SFTP adapters (another case, but no SFTP support) for picking file. So checking the possibilities with other adapters and need to use SSL authentication as well, which is second part.

Primary part is to pick the file.

Regards,
Raj.

manoj_khavatkopp
Active Contributor

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