<?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: File Transfer Through FTP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277161#M1531015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just debug and see whether, there is data after smartform conversion to PDF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Sep 2010 10:29:52 GMT</pubDate>
    <dc:creator>JoffyJohn</dc:creator>
    <dc:date>2010-09-23T10:29:52Z</dc:date>
    <item>
      <title>File Transfer Through FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277157#M1531011</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;I have created the pdf from the smartform output.&lt;/P&gt;&lt;P&gt;That I have to sent to remote system, for that i am using FTP.&lt;/P&gt;&lt;P&gt;I have done all the coding for FTP Connection, but i have the doubt of how to put the pdf data into the file that i am passing &lt;/P&gt;&lt;P&gt;through FTP. I am generating the file in the remote system, with some naming rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using function module &lt;STRONG&gt;FTP_R3_TO_SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;man&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 06:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277157#M1531011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T06:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer Through FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277158#M1531012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use sample program RSFTP004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 08:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277158#M1531012</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2010-09-17T08:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer Through FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277159#M1531013</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;see the WIKI &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Working" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Working&lt;/A&gt;&lt;EM&gt;with&lt;/EM&gt;FTP+Server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after Getting the PDF data into internal table write into Application server..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then given the source path = application server.&lt;/P&gt;&lt;P&gt;and give Destiantion path   = FTP path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and call the below commands in between the FTP_OPEN and FTP_CLOSE see the sample code as above blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

w_command = "bin'.

* Navigate to source directory
  CONCATENATE 'lcd' source_path INTO w_command SEPARATED BY space.
  CALL FUNCTION 'FTP_COMMAND'
    EXPORTING
      handle        = w_handle
      command       = w_command
    TABLES
      data          = ftp_session.

* Navigate to destination directory
  CONCATENATE 'cd' dest_path INTO w_command SEPARATED BY space.
  CALL FUNCTION 'FTP_COMMAND'
    EXPORTING
      handle        = w_handle
      command       = w_command
    TABLES
      data          = ftp_session.

* Transfer file
  CONCATENATE 'put' file INTO w_command SEPARATED BY space.
  CALL FUNCTION 'FTP_COMMAND'
    EXPORTING
      handle        = w_handle
      command       = w_command
    TABLES
      data          = ftp_session.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 09:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277159#M1531013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T09:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer Through FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277160#M1531014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to send file through ftp to destination folder, but that file dont have any data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What iam doing is convert the smartform output to pdf through FM &lt;STRONG&gt;Convert_otf&lt;/STRONG&gt;.. and then using ftp&lt;/P&gt;&lt;P&gt;FTP_R3_TO_SERVER to transfer it to ftp server. but destination file has not got any data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FTP_R3_TO_SERVER..&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;      BLOB          = pdf_itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;pdf_itab&lt;/STRONG&gt; which internal table i have to pass, which i have defined in &lt;STRONG&gt;CONVERT_OTF&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 10:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277160#M1531014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-23T10:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: File Transfer Through FTP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277161#M1531015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just debug and see whether, there is data after smartform conversion to PDF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Sep 2010 10:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-through-ftp/m-p/7277161#M1531015</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2010-09-23T10:29:52Z</dc:date>
    </item>
  </channel>
</rss>

