<?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 with Deleting File in Application Server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436309#M207937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As inidcated by you there is no reason for the file to reappear. Are you using shell cmds to copy the file? If yes then u can try to rename the file and move it into another directory say archive which can be deleted later on using another shell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 09:18:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-15T09:18:14Z</dc:date>
    <item>
      <title>Problem with Deleting File in Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436306#M207934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    I have a program which downloads my file into application server. And my file name is something like "SUCC_PROD_CAT.DAT". This file is used by some other external application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Even before the file gets downloaded fully, this external application is trying to access the file and this result in Partial file access or file with no records. This happens when the file size is large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Inorder to aviod this problem, i am downloading my file in a temporary file name called "TS_PROD_CAT.DAT" and when the download is over, i am renaming it to "SUCC_PROD_CAT.DAT" using some command line operation. It gets renamed and after a couple of minutes, both the file Viz., TS_PROD_CAT.DAT and SUCC_PROD_CAT.DAT comes in the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Even i have tried some other command line operation like Copying the File into SUCC_PROD_CAT.DAT and then deleting the temporary file TS_PROD_CAT.DAT. Even in this case, after a couple of minutes, the temporary file TS_PROD_CAT.DAT is getting restored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Whether i need to do some other thing, in such a way that, temporary file should not get restored, after processing is over?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vijay Govindarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436306#M207934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Deleting File in Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436307#M207935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EPS_DELETE_FILE or CONVT_DELETE_FILES&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; to delete file or you can use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE DATASET&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM.&lt;/P&gt;&lt;P&gt;Please mark points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436307#M207935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Deleting File in Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436308#M207936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can declare 2 directories in your application server:&lt;/P&gt;&lt;P&gt;1. Tobeuploaded&lt;/P&gt;&lt;P&gt;2. Uploaded&lt;/P&gt;&lt;P&gt;Instead of deleting or renaming the file after uploading, move it to the directory uploaded. Sometimes the problem lies with authorization in the application server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436308#M207936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Deleting File in Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436309#M207937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As inidcated by you there is no reason for the file to reappear. Are you using shell cmds to copy the file? If yes then u can try to rename the file and move it into another directory say archive which can be deleted later on using another shell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-deleting-file-in-application-server/m-p/1436309#M207937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:18:14Z</dc:date>
    </item>
  </channel>
</rss>

