<?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: HTTP_POST_FILES on UNIX server cannot read file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-post-files-on-unix-server-cannot-read-file/m-p/7841402#M1590946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP_POST_FILES is a low level function module. Try going up in the application layer. For example, try using the functions that belong to the SCMS_AO_API function group (e.g. SCMS_AO_FILE_CREATE). Or, if you are planning to use the uploaded document with archivelink, then go further up to ARCHIVOBJECT*  function modules (e.g. ARCHIVOBJECT_CREATE_FILE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 18:19:20 GMT</pubDate>
    <dc:creator>JP_Barcenas</dc:creator>
    <dc:date>2011-05-31T18:19:20Z</dc:date>
    <item>
      <title>HTTP_POST_FILES on UNIX server cannot read file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-post-files-on-unix-server-cannot-read-file/m-p/7841401#M1590945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently facing an issue where we are trying to upload a file to the Content Server using the FM HTTP_POST_FILES. The file we are trying to upload resides on the SAP server itself under the folder /usr/sap/DHC/SYS/global/temporary_folder/ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using transaction OAAD, a file can be manually stored and assigned. Internally, the same function module is used, but in that case, the file is read from the user's PC. &lt;/P&gt;&lt;P&gt;In our scenario, the file can be found using OPEN DATASET and RZL_READ_DIR_LOCAL. However, when using the HTTP_POST_FILES FM where the absolute path and filename are passed on, the FM goes into error with the following error : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error when uploading file: /usr/sap/DHC/SYS/global/temporary_folder/00006112.jpg (file_open_error)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea what might be the issue ? Could it be that HTTP_POST_FILES is incompatible with a UNIX path ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 14:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-post-files-on-unix-server-cannot-read-file/m-p/7841401#M1590945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-20T14:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP_POST_FILES on UNIX server cannot read file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-post-files-on-unix-server-cannot-read-file/m-p/7841402#M1590946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP_POST_FILES is a low level function module. Try going up in the application layer. For example, try using the functions that belong to the SCMS_AO_API function group (e.g. SCMS_AO_FILE_CREATE). Or, if you are planning to use the uploaded document with archivelink, then go further up to ARCHIVOBJECT*  function modules (e.g. ARCHIVOBJECT_CREATE_FILE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 18:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-post-files-on-unix-server-cannot-read-file/m-p/7841402#M1590946</guid>
      <dc:creator>JP_Barcenas</dc:creator>
      <dc:date>2011-05-31T18:19:20Z</dc:date>
    </item>
  </channel>
</rss>

