<?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: Urgent!!! FTP a file same server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769467#M645199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use all the unix commands..&lt;/P&gt;&lt;P&gt;MV to move&lt;/P&gt;&lt;P&gt;cp to copy&lt;/P&gt;&lt;P&gt;ls to list the files etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.indiana.edu/~uitspubs/b017/"&amp;gt;Unix Commands&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 19:39:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-06T19:39:19Z</dc:date>
    <item>
      <title>Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769464#M645196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, experts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, I need to copy a file via FTP same server but different directory, how can I do this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appreciate it any helfull information, thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;mgg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 19:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769464#M645196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T19:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769465#M645197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe you can use this function "MSS_CALL_SYSTEM" that make a msdos command. So you would only need to move ('Move DIR1\File DIR2\File') or copy the file to the correct directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 19:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769465#M645197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T19:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769466#M645198</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;&lt;/P&gt;&lt;P&gt; if the server is same you can just us open data set.. here is the code .. if ur sap is on unix then use the following code to mv the file from one diretory to other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA:&lt;/P&gt;&lt;P&gt;*-- Record Counter&lt;/P&gt;&lt;P&gt;    L_COUNT(10) TYPE N,&lt;/P&gt;&lt;P&gt;    MSG(100) TYPE C.&lt;/P&gt;&lt;P&gt;  DATA : V_LENGTH TYPE I.&lt;/P&gt;&lt;P&gt;  DATA: DG_UNIX_LOC(100) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF DT_TABL OCCURS 0,&lt;/P&gt;&lt;P&gt;          LINE(200),&lt;/P&gt;&lt;P&gt;      END OF DT_TABL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF DT_TABL_HIST OCCURS 0,&lt;/P&gt;&lt;P&gt;        LINE(200),&lt;/P&gt;&lt;P&gt;       END OF DT_TABL_HIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: DG_UNIX_LOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    DG_UNIX_LOC(9)    = 'mv  /usr/sap/pd1/file.csv /usr/sap/pd2/file.csv '.&lt;/P&gt;&lt;P&gt;    DG_UNIX_LOC+9(45) = P_AFILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA : V_STRING(100) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH DT_TABL.&lt;/P&gt;&lt;P&gt;    CALL 'SYSTEM' ID 'COMMAND' FIELD DG_UNIX_LOC&lt;/P&gt;&lt;P&gt;                  ID 'TAB'     FIELD DT_TABL-&lt;STRONG&gt;SYS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use all the unix commands..&lt;/P&gt;&lt;P&gt;MV to move&lt;/P&gt;&lt;P&gt;cp to copy&lt;/P&gt;&lt;P&gt;ls to list the files etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.indiana.edu/~uitspubs/b017/"&amp;gt;Unix Commands&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Mahesh Raganmoni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 19:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769466#M645198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T19:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769467#M645199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use all the unix commands..&lt;/P&gt;&lt;P&gt;MV to move&lt;/P&gt;&lt;P&gt;cp to copy&lt;/P&gt;&lt;P&gt;ls to list the files etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.indiana.edu/~uitspubs/b017/"&amp;gt;Unix Commands&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 19:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769467#M645199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T19:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769468#M645200</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;The code writed below is the same like the function code. It is created for a UNIX computer and with the code move (mv). If you need greater directories you can modify the field table instead to 100 to the number you need (ex 200)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 19:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769468#M645200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T19:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769469#M645201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guy all your answer gime an idea how to solve it, but I miss to write that the server is AS400, may I use same logic of UNIX code lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;mgg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 20:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769469#M645201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T20:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769470#M645202</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;  read the conetent of the file into an internal table&lt;/P&gt;&lt;P&gt;  delete the file by using DELETE DATASET command&lt;/P&gt;&lt;P&gt;  create a file in the required directory and copy the content of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  just use normal open dataset traster and close dataset commands..these will work irrecpective of the OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 20:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769470#M645202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T20:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent!!! FTP a file same server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769471#M645203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mahesh ... I was wondering may I do this on AS400 server? I understand that READ/DELETE dataset commands are for files on SAP Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;mgg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 15:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-ftp-a-file-same-server/m-p/2769471#M645203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T15:37:36Z</dc:date>
    </item>
  </channel>
</rss>

