<?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 Problem in using FTP_CONNECT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767124#M1584197</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;I have to copy a file from Application server to a specified folder in Presentation server . For this I tried the following FM's. &lt;/P&gt;&lt;P&gt;FTP_CONNECT&lt;/P&gt;&lt;P&gt;FTP_COMMAND&lt;/P&gt;&lt;P&gt;FTP_DISCONNECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But  i am unable to establish a connection using the FM   FTP_CONNECT. Exactly what parameters needs to pass  to this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone thorugh the forum but unable to get an idea. Here in my case the source will be APP Server and Destination will be Presentation Server . What will be the host i need pass exactly. While i was trying i am getting CERROR (while Debugging the FM)parameter as 2 and because of this the connection was not being established . Please suggest me how can i pass the parameters to this FM.&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;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 07:24:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-23T07:24:59Z</dc:date>
    <item>
      <title>Problem in using FTP_CONNECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767124#M1584197</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;I have to copy a file from Application server to a specified folder in Presentation server . For this I tried the following FM's. &lt;/P&gt;&lt;P&gt;FTP_CONNECT&lt;/P&gt;&lt;P&gt;FTP_COMMAND&lt;/P&gt;&lt;P&gt;FTP_DISCONNECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But  i am unable to establish a connection using the FM   FTP_CONNECT. Exactly what parameters needs to pass  to this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone thorugh the forum but unable to get an idea. Here in my case the source will be APP Server and Destination will be Presentation Server . What will be the host i need pass exactly. While i was trying i am getting CERROR (while Debugging the FM)parameter as 2 and because of this the connection was not being established . Please suggest me how can i pass the parameters to this FM.&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;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 07:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767124#M1584197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T07:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in using FTP_CONNECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767125#M1584198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;you have to encrypt your password&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HTTP_SCRAMBLE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      SOURCE      = p_pwd&lt;/P&gt;&lt;P&gt;      sourcelen   = gv_slen&lt;/P&gt;&lt;P&gt;      key         = gv_key&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      destination = p_pwd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_dest is the SAPFTP Connection, p_host your destination ftp&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FTP_CONNECT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      user            = p_user&lt;/P&gt;&lt;P&gt;      password        = p_pwd&lt;/P&gt;&lt;P&gt;      host            = p_host&lt;/P&gt;&lt;P&gt;      rfc_destination = p_dest&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      handle          = gv_hdl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 07:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767125#M1584198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T07:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in using FTP_CONNECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767126#M1584199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oliver thanks for the quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given destination IP (i.e 157.227.111.24) and the password also scrambled one, but still i am getting the same message like "Attempt to connect to the host  157.227.111.24 is failed". Again CERROR is 2 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to do any configurations for the destination IP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 07:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767126#M1584199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T07:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in using FTP_CONNECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767127#M1584200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it depends much on your environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have for example the user like   name@destination@target-IP-Adress , g..   tom@dhl@ 80.121.150.24&lt;/P&gt;&lt;P&gt;And for destination a ip in our environment , from there this package is forwardet to the above ip u2013 but these infos you should get from your system-guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 10:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-ftp-connect/m-p/7767127#M1584200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T10:02:13Z</dc:date>
    </item>
  </channel>
</rss>

