<?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: FTP Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802427#M344458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the ftp commands are used to execute FTP commands on the FTP server... u need to login to the FTP first and then execute the command..the commands will be of the kind GET , LS etc.. In case u need to execute only a single command, you can use the firstfunc module..else if number of commands needs to be executed ... use the other one...&lt;/P&gt;&lt;P&gt;u can also use &lt;/P&gt;&lt;P&gt;SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 07:51:52 GMT</pubDate>
    <dc:creator>aakash_neelaperumal2</dc:creator>
    <dc:date>2006-12-05T07:51:52Z</dc:date>
    <item>
      <title>FTP Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802425#M344456</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;Please do answer to my question's regarding FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.What is difference between 'FTP_COMMAND' AND 'FTP_COMMAND_LIST'.&lt;/P&gt;&lt;P&gt;2.Why do we use these commands.&lt;/P&gt;&lt;P&gt;3.Iam using the directory path as 'D:\FTPROOT\' in the ftp_command_list. But iam getting an error. &lt;/P&gt;&lt;P&gt;iam using the following code.&lt;/P&gt;&lt;P&gt;  data: begin of l_i_data occurs 0,&lt;/P&gt;&lt;P&gt;          line(100),&lt;/P&gt;&lt;P&gt;        end of l_i_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: begin of l_i_commands occurs 0,&lt;/P&gt;&lt;P&gt;          line(100),&lt;/P&gt;&lt;P&gt;        end of l_i_commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_rem_dir &amp;lt;&amp;gt; ''.&lt;/P&gt;&lt;P&gt;    concatenate 'cd' D:\FTPROOT\' into l_i_commands-line&lt;/P&gt;&lt;P&gt;                                   separated by space.&lt;/P&gt;&lt;P&gt;    append l_i_commands. clear l_i_commands.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'FTP_COMMAND_LIST'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      handle        = p_handle "1&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      command_index = l_cmd_index "0&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      data          = l_i_data&lt;/P&gt;&lt;P&gt;      commands      = l_i_commands "'cd' D:\FTPROOT\' "&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      tcpip_error   = 1&lt;/P&gt;&lt;P&gt;      command_error = 2&lt;/P&gt;&lt;P&gt;      data_error    = 3&lt;/P&gt;&lt;P&gt;      others        = 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send your suggestions,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 05:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802425#M344456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T05:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802426#M344457</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;look documentation to fm 'FTP_COMMAND' and &lt;/P&gt;&lt;P&gt;sample report rsftp002 and other rports of device class SFTP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802426#M344457</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-12-05T07:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802427#M344458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the ftp commands are used to execute FTP commands on the FTP server... u need to login to the FTP first and then execute the command..the commands will be of the kind GET , LS etc.. In case u need to execute only a single command, you can use the firstfunc module..else if number of commands needs to be executed ... use the other one...&lt;/P&gt;&lt;P&gt;u can also use &lt;/P&gt;&lt;P&gt;SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 07:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-problem/m-p/1802427#M344458</guid>
      <dc:creator>aakash_neelaperumal2</dc:creator>
      <dc:date>2006-12-05T07:51:52Z</dc:date>
    </item>
  </channel>
</rss>

