<?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 Get files from FTP folder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536817#M244884</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;       I have following requirement regarding FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program will run in background &amp;amp; search file(s) in FTP folder which is on FTP server. I have check SAP forum &amp;amp; web blogs but not getting how to achieve this.&lt;/P&gt;&lt;P&gt;     Kindly suggest if any solution on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2006 13:48:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-24T13:48:57Z</dc:date>
    <item>
      <title>Get files from FTP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536817#M244884</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;       I have following requirement regarding FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program will run in background &amp;amp; search file(s) in FTP folder which is on FTP server. I have check SAP forum &amp;amp; web blogs but not getting how to achieve this.&lt;/P&gt;&lt;P&gt;     Kindly suggest if any solution on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 13:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536817#M244884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T13:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get files from FTP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536818#M244885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Create a UNIX script that executes an FTP to the remote server and performs a directory listing.&lt;/P&gt;&lt;P&gt;2. Create external command using SM69&lt;/P&gt;&lt;P&gt;3. Call external command in program via function SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return your program with a list of files on the remote system.  Use similar technique to retrieve specific files as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 13:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536818#M244885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get files from FTP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536819#M244886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michel,&lt;/P&gt;&lt;P&gt;           Thanks for your quick reply. Is there any function module to reach the FTP folder on FTP server?&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt; I don't under your 1st point, can you please explain in brief.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. Create a UNIX script that executes an FTP to the remote server and performs a directory listing.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Diliip Gupchup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 14:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536819#M244886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get files from FTP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536820#M244887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want a function module look at functions that begin with 'FTP'.  There are functions for connect, disconnect, command, etc.  I've always written scripts for this purpose, but the functions seem to be pretty self-explanatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would like more info on scripting, let me know.  Are you running on UNIX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you initially connect using FTP_CONNECT you will receive a HANDLE.  Use this HANDLE when calling follow-on functions like FTP_COMMAND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 14:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536820#M244887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get files from FTP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536821#M244888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michel,&lt;/P&gt;&lt;P&gt;           For FTP_CONNECT ZI have to pass Uname, PWD,&lt;/P&gt;&lt;P&gt;Host &amp;amp; RFC destination. I want to know what is meant by Host and how to create RFC destination for FTP folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes definately I want to knmow more on scripting as I am going to use  FTP_CONNECT, FTP_COMMAND &amp;amp; FTP_DISCONNECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 14:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536821#M244888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get files from FTP folder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536822#M244889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case, scripting is an alternative to the SAP functions.  There is a really good weblog on these functions at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/11/15/performing-ftp-commands-from-abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It refers to a sample SAP program called RSFTP002 that will provide the necessary code for using the functions.  It also refers to program RSFTP005 to generate the RFC destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to find a sample UNIX FTP script so you have an alternative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 15:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-files-from-ftp-folder/m-p/1536822#M244889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T15:02:43Z</dc:date>
    </item>
  </channel>
</rss>

