<?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_connect in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133665#M1619690</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;Try using the following before you call the FTP_CONNECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;slen = strlen( pwd ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;call function 'HTTP_SCRAMBLE'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    source      = pwd&lt;/P&gt;&lt;P&gt;    sourcelen   = slen&lt;/P&gt;&lt;P&gt;    key         = key&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;    destination = pwd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this password which you get from the above FM in the FTP_CONNECT. Guess you are facing the problem due to some kind of password encryption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2011 18:17:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-13T18:17:31Z</dc:date>
    <item>
      <title>FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133660#M1619685</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;      I am using FTP_connect FMto connect to the ftp site but i am getting the error :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Attempt to set up a connection to FTP ftp.pcbnetworx.com (this is the host ftp) failed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody help please....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ruchi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 15:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133660#M1619685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133661#M1619686</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;Are you able to connect to the FTP from OS level and also for the authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Check this | &lt;A href="http://abap-gallery.blogspot.com/2007/07/ftp.html]" target="test_blank"&gt;http://abap-gallery.blogspot.com/2007/07/ftp.html]&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;                  [http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 15:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133661#M1619686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T15:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133662#M1619687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can connet to ftp on command prompt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 16:19:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133662#M1619687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133663#M1619688</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;Please go through the below thread, it is having the solution for the same kind of problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1489532"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 16:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133663#M1619688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T16:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133664#M1619689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Help.....still struggling with the same...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133664#M1619689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T18:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133665#M1619690</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;Try using the following before you call the FTP_CONNECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;slen = strlen( pwd ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;call function 'HTTP_SCRAMBLE'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    source      = pwd&lt;/P&gt;&lt;P&gt;    sourcelen   = slen&lt;/P&gt;&lt;P&gt;    key         = key&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;    destination = pwd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this password which you get from the above FM in the FTP_CONNECT. Guess you are facing the problem due to some kind of password encryption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133665#M1619690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T18:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133666#M1619691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shiva...tried that one but still error is ther...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133666#M1619691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133667#M1619692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check for authorization and also have a look into the thread mentioned in earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133667#M1619692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T18:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133668#M1619693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I can see FTP works using a command prompt. Is that from SAP application server or from frontend ? When using FTP_CONNECT then RFC destionation SAPFTP or SAPFTPA is used. Can you test these RFC destionations in SM59 ? RFC destionation SAPFTP corresponds to FTP from frontend. SAPFTPA corresponds to FTP from SAP application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 02:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133668#M1619693</guid>
      <dc:creator>JackGraus</dc:creator>
      <dc:date>2011-09-14T02:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133669#M1619694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jack, RFC destination in sm59 works fine....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 03:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133669#M1619694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T03:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133670#M1619695</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;You need to use below before using FTP_Connect FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'HTTP_SCRAMBLE'
exporting
source = pwd
sourcelen = slen
key = key
importing
destination = pwd.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now after getting scrablled possword becomes lengthier then originally what it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So declare parameter PWD of type c length 40.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as per the error there is a possibility that IP which you have used may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give exact IP address and not any web link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 04:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133670#M1619695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T04:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133671#M1619696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnaks Umang....i tried http_scramble .....but no luck so far&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 04:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133671#M1619696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T04:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: FTP_connect</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133672#M1619697</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;HTTP_SCRAMBLE is must but as I said dont forgrt to use variable &lt;STRONG&gt;PWD of type c length 40.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check your parameters RFC destination as &lt;STRONG&gt;SAPFTPA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;User ID as same user ID through which you are doing ftp from OS e.g. &lt;STRONG&gt;ROOT&lt;/STRONG&gt; or "&amp;lt;SYSTEMID&amp;gt;ADM"&lt;/P&gt;&lt;P&gt;Password : scramble password using "HTTP_scramble" FM&lt;/P&gt;&lt;P&gt;IP of your Host : e.g &lt;STRONG&gt;100.11.23.11 and not like ftp.host.net&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here possibility what I see is either you are not getting scramble password correctly, means if characters are of variable PWD is laser than what it requires to be then password getting scramble can be wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User ID though which you are trying to login: as if you are connecting from OS though root and in program using some other system adm ID then there can be a problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other possibility is IP what you have given can be wrong, check with your networking guy if there are two IP, one internal and other public IP. in this case through OS you can connect the host server using link og the server but though SAP program you need to give exact internal or public IP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 05:10:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-connect/m-p/8133672#M1619697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T05:10:12Z</dc:date>
    </item>
  </channel>
</rss>

