<?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 using ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186391#M1373960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhshk Bhatta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look on below url...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&lt;/A&gt;&lt;EM&gt;solution&lt;/EM&gt;to&lt;EM&gt;implement&lt;/EM&gt;FTP+transactions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 10:12:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-01T10:12:13Z</dc:date>
    <item>
      <title>FTP using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186390#M1373959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to read a file from a server (e.g) XYZ.123.com and other details which are provided to us are user name (e.g): Abc123 and Directory (e.g): /123/123/123/123l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: Do we need a RFC connection to the server if yes then what type of RFC connection? If RFC connection is not required then what we have to do to establish the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 09:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186390#M1373959</guid>
      <dc:creator>abhishek_bhattacharjee</dc:creator>
      <dc:date>2009-10-01T09:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: FTP using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186391#M1373960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhshk Bhatta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look on below url...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&lt;/A&gt;&lt;EM&gt;solution&lt;/EM&gt;to&lt;EM&gt;implement&lt;/EM&gt;FTP+transactions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186391#M1373960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T10:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: FTP using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186392#M1373961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhshk, there may be a more modern way but something like this has worked in the past&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*-- FTP_CONNECT requires an encrypted password to work
  call 'AB_RFC_X_SCRAMBLE_STRING'
       id 'SOURCE' field mc_password 
       id 'KEY' field mi_key
       id 'SCR' field 'X' id 'DESTINATION' field mc_password
       id 'DSTLEN' field mi_pwd_len.

  call function 'FTP_CONNECT'
       exporting
*-- Your SAP-UNIX FTP user name (case sensitive)
         user            = 'unixuser'
         password        = 'unixpassword'
*-- Your SAP-UNIX server host name (case sensitive)
         host            = 'saphost'
         rfc_destination = 'sapsystemrfc'
       importing
         handle          = mi_handle
       exceptions
         not_connected   = 1
         others          = 2.

  check sy-subrc = 0.

  call function 'FTP_COMMAND'
    exporting
      handle        = mi_handle
      command       = 'dir'
    tables
      data          = mtab_data
    exceptions
      tcpip_error   = 1
      command_error = 2
      data_error    = 3
      others        = 4.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 14:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186392#M1373961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T14:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: FTP using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186393#M1373962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please search the forum, there have been several posts for this before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 14:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-using-abap/m-p/6186393#M1373962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T14:35:59Z</dc:date>
    </item>
  </channel>
</rss>

