<?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: Reading  a directory from a remote server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475204#M222845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you considered connecting to the server using FTP and then issuing a DIR command? See program RSFTP002 for the function modules involved in using FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2006 21:47:38 GMT</pubDate>
    <dc:creator>gabriel_pill-kahan</dc:creator>
    <dc:date>2006-08-22T21:47:38Z</dc:date>
    <item>
      <title>Reading  a directory from a remote server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475202#M222843</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;This is the second time i am posting this query.Becoz..i am not clear.&lt;/P&gt;&lt;P&gt;I have a requirement to read a directory from a remote server(Other than R/3).I know there are 2 Fms available for this.But i am not able to exicute those.&lt;/P&gt;&lt;P&gt;Those Fms are:&lt;/P&gt;&lt;P&gt;1.RZL_READ_DIR&lt;/P&gt;&lt;P&gt;2.RZL_READ_DIR_LOCAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the following example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_path type salfile-longname&lt;/P&gt;&lt;P&gt;                    value '//10.11.12.13/sumantha/'.&lt;/P&gt;&lt;P&gt;data: wa_file type table of  salfldir with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'RZL_READ_DIR_LOCAL'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          name           = wa_path&lt;/P&gt;&lt;P&gt;     tables&lt;/P&gt;&lt;P&gt;          file_tbl       = wa_file&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;          argument_error = 1&lt;/P&gt;&lt;P&gt;          not_found      = 2&lt;/P&gt;&lt;P&gt;          others         = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i give path like this i am getting Sy-subrc = 2.&lt;/P&gt;&lt;P&gt;after exicuting this FM.I think i will get the IP address of remote server and the directory name.&lt;/P&gt;&lt;P&gt;So Can any body tell me how can i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475202#M222843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T13:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading  a directory from a remote server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475203#M222844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you must not specify IP address. Because this FM's already read local directories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475203#M222844</guid>
      <dc:creator>ibrahim_u</dc:creator>
      <dc:date>2006-08-22T13:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading  a directory from a remote server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475204#M222845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you considered connecting to the server using FTP and then issuing a DIR command? See program RSFTP002 for the function modules involved in using FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 21:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-directory-from-a-remote-server/m-p/1475204#M222845</guid>
      <dc:creator>gabriel_pill-kahan</dc:creator>
      <dc:date>2006-08-22T21:47:38Z</dc:date>
    </item>
  </channel>
</rss>

