<?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: Moving Files in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-files/m-p/2083967#M432574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can u give u an idea of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First download all the files and capture all the file names in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop that internal table and check for the file name if already present, if it is present move the file to error file location or else move the file to the respected folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2007 07:50:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-05T07:50:46Z</dc:date>
    <item>
      <title>Moving Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-files/m-p/2083966#M432573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;We have the following Requirement and this has to run in backgroung. Plz help.&lt;/P&gt;&lt;P&gt;how to proceed and if possible plz give some sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Read all files from a given folder which is available in POS landing zone on XI server. Search for these files in the backup location (same XI server but different folder) If file is available with the same name in the backup location, move the file to error file location(same XI server but different folder). Otherwise, move the files to XI processing zone(same XI server but different folder).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 07:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-files/m-p/2083966#M432573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T07:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moving-files/m-p/2083967#M432574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can u give u an idea of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First download all the files and capture all the file names in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop that internal table and check for the file name if already present, if it is present move the file to error file location or else move the file to the respected folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 07:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moving-files/m-p/2083967#M432574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T07:50:46Z</dc:date>
    </item>
  </channel>
</rss>

