<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get File with HTTP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574765#M259503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also since this is a image dont use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content = http_client-&amp;gt;response-&amp;gt;get_cdata( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;data: content type xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content = http_client-&amp;gt;response-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2006 12:14:22 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2006-09-13T12:14:22Z</dc:date>
    <item>
      <title>Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574761#M259499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get a file that is in a web server using HTTP protocol. The server is IIS and needs authentication, also, the url i give will redirect me to the url of the file i need to download.&lt;/P&gt;&lt;P&gt;How can this be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574761#M259499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T11:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574762#M259500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nuno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CL_HTTP_CLIENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can use these function module - &amp;gt; HTTP_GET_FILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark points if hlped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574762#M259500</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-13T11:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574763#M259501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  url = 'http://192.168.0.1/image.bmp'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_HTTP_CLIENT=&amp;gt;CREATE_BY_URL&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      URL                = url&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      CLIENT             = http_client&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      ARGUMENT_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;      PLUGIN_NOT_ACTIVE  = 2&lt;/P&gt;&lt;P&gt;      INTERNAL_ERROR     = 3&lt;/P&gt;&lt;P&gt;      others             = 4.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    http_client-&amp;gt;send( ).&lt;/P&gt;&lt;P&gt;    http_client-&amp;gt;receive( ).&lt;/P&gt;&lt;P&gt;    content = http_client-&amp;gt;response-&amp;gt;get_cdata( ).&lt;/P&gt;&lt;P&gt;    http_client-&amp;gt;close( ).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try this i get a popup asking me for the username and password. I put the correct password and it wont work. After the third try it will just fail.&lt;/P&gt;&lt;P&gt;Any idea why does this fail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574763#M259501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574764#M259502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you have a close look at the pop up and tell us what user id pwd it is asking? is it proxy authentication or user id pwd of 'http://192.168.0.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574764#M259502</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-09-13T12:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574765#M259503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also since this is a image dont use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content = http_client-&amp;gt;response-&amp;gt;get_cdata( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;data: content type xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content = http_client-&amp;gt;response-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574765#M259503</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-09-13T12:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574766#M259504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its requesting the user and password from the iis server. It's a local address and i'm not using a proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 11:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574766#M259504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T11:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574767#M259505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok,add the following code to pass user id /pwd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_http_client=&amp;gt;create
  exporting
    host          = 'www.xxx.com'
    service       = '80'
    scheme        = '1'
  importing
    client        = http_client.

http_client-&amp;gt;propertytype_logon_popup = http_client-&amp;gt;co_disabled.

wf_user = user .
wf_password = password .

call method http_client-&amp;gt;authenticate
  exporting
    username             = wf_user
    password             = wf_password.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 04:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574767#M259505</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-09-16T04:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574768#M259506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating and testing an RFC HTTP connection thru SM59. It reacts the same way (asks for user and password and fails at the third time). Whan it fails it return error 401 and says the server is not prepared to receive the authorization headers i am sending.&lt;/P&gt;&lt;P&gt;I believe this is because the server is configures for NTLM authentication.&lt;/P&gt;&lt;P&gt;How can i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Nuno Silva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 09:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574768#M259506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T09:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574769#M259507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case IIS is configured not to accept basic authentication HTTP_Client-&amp;gt;authenticate will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP WAS is not able to provide NTLM autentication when acting as HTTP-Client (at least for version 6.20/6.40). &lt;/P&gt;&lt;P&gt;However, we had the same requirement some month ago and we have implemented NTLM authentication. &lt;/P&gt;&lt;P&gt;If you´re still interested in this I can provide you this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 11:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574769#M259507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T11:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574770#M259508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please provide us your NTLM authentication (solution) since we have the same problems here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Erhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574770#M259508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T09:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574771#M259509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stefan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide us your NTLM authentication code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anthony.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 08:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574771#M259509</guid>
      <dc:creator>AnthonyP</dc:creator>
      <dc:date>2013-04-23T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574772#M259510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be great if you can share your approach. I am facing currently into same problems that I want to interface sharepoint and they only accept NTLMv2 protocol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Helmut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574772#M259510</guid>
      <dc:creator>helmut_skolaut3</dc:creator>
      <dc:date>2014-07-04T06:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get File with HTTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574773#M259511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hello Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;can you please post the NTLM authentication code ? &lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Had anyone here received an answer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Thank you in advance&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Roman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 20:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-file-with-http/m-p/1574773#M259511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-12T20:31:03Z</dc:date>
    </item>
  </channel>
</rss>

