<?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: Problem sending file with CL_HTTP_CLIENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090962#M733123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2007 21:42:34 GMT</pubDate>
    <dc:creator>nicocastanio</dc:creator>
    <dc:date>2007-11-28T21:42:34Z</dc:date>
    <item>
      <title>Problem sending file with CL_HTTP_CLIENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090960#M733121</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;There is a legal requirement in my country, in which is necessary to send a TXT file to a government&amp;#146;s website. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This website gives a response with a XML file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should send the TXT file with a HTML FORM, this form has 3 parameters ( user, pass, file path+name ) and is sending data through "POST" method using encoding type "multipart". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;FORM action="http://cottest.ec.gba.gov.ar/TransporteBienes/SeguridadCliente/presentarRemitos.do" enctype="multipart/form-data" method="POST" name="form"&amp;gt; 
    &amp;lt;P&amp;gt;&amp;lt;LABEL for="user"&amp;gt;User: &amp;lt;/LABEL&amp;gt;
    &amp;lt;input type="text" name="user" value="" /&amp;gt;&amp;lt;BR/&amp;gt;
    &amp;lt;LABEL for="pass"&amp;gt;Pass: &amp;lt;/LABEL&amp;gt;
    &amp;lt;input type="password" name="password" value="" /&amp;gt;&amp;lt;/P&amp;gt;
    &amp;lt;input type="file" name="file" value="" /&amp;gt;&amp;lt;BR/&amp;gt;
    &amp;lt;input type="submit" /&amp;gt;
&amp;lt;/FORM&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working with a container and class CL_GUI_HTML_VIEWER and can send the file successfully, but in this way, i can&amp;#146;t read and process XML response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying with an alternative way, using class CL_HTTP_CLIENT, with some problems: if I send a HTML FORM with only user and pass fields, works fine, but if I try to send a file, doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea? &lt;/P&gt;&lt;P&gt;anyone can help me? &lt;/P&gt;&lt;P&gt;I have points to give!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 19:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090960#M733121</guid>
      <dc:creator>nicocastanio</dc:creator>
      <dc:date>2007-11-27T19:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem sending file with CL_HTTP_CLIENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090961#M733122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich? Thomas? I bought your book guys. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Pliiiiis help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 20:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090961#M733122</guid>
      <dc:creator>nicocastanio</dc:creator>
      <dc:date>2007-11-27T20:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem sending file with CL_HTTP_CLIENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090962#M733123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2007 21:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-sending-file-with-cl-http-client/m-p/3090962#M733123</guid>
      <dc:creator>nicocastanio</dc:creator>
      <dc:date>2007-11-28T21:42:34Z</dc:date>
    </item>
  </channel>
</rss>

