<?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 anonymous connection problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305700#M1726726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Daniel Cantin wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the program RFSTP002 for testing the connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User : anonymous&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Pwd : none&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; USER anonymous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP server : 230 User logged in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; *****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;&lt;STRONG&gt;[7152] FTP server : 503 Bad sequence of commands.&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In selection screen of &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;RFSTP002&lt;/SPAN&gt; have you given any input for &lt;STRONG&gt;Password &lt;/STRONG&gt;field?&lt;/P&gt;&lt;P&gt;From trace file and after checking some of my previous programs, I believe it should be left blank (No input) or an input '&lt;STRONG&gt;!&lt;/STRONG&gt;' can be given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In trace log, it seems after user is already logged in, password(*****) is provided as command to FTP server and resulted in error.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sravan Guduru.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 07:58:35 GMT</pubDate>
    <dc:creator>former_member215575</dc:creator>
    <dc:date>2013-02-27T07:58:35Z</dc:date>
    <item>
      <title>FTP anonymous connection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305699#M1726725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;We try to connect to a Zebra printer using FTP through SAP to print local text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the program RFSTP002 for testing the connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User : anonymous&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Pwd : none&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Host: xx.x.x.xxx&amp;nbsp; (the host is the IP of the&lt;BR /&gt;Zebra printer)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;And I’m getting the following error using the trace program RFSTP001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is the trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;trc file:&lt;BR /&gt;"dev_ftp", trc level: 2, release: "730"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;Tue Feb 26 15:42:52 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] sccsid:@(#) $Id: //bas/720_REL/src/krn/ftp/ftpmain.c#9 $ SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr&lt;BR /&gt;7136]&amp;nbsp; @(#) $Id:&lt;BR /&gt;//bas/720_REL/src/krn/ftp/ftp.c#2 $ SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr&lt;BR /&gt;7136]&amp;nbsp; @(#) $Id:&lt;BR /&gt;//bas/720_REL/src/krn/ftp/ftpcmd.c#3 $ SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;sapftp.ini file path : C:\Program Files\SAP\FrontEnd\SAPgui\sapftp.ini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;SAPFTP Passive mode set to = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP Start :argc - 6 a0 - sapftp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;/H/x.x.x.x [Thr 7136] sapgw01 [Thr 7136] 13040786 [Thr 7136] CPIC_TRACE=2 [Thr&lt;BR /&gt;7136] ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X=4 [Thr 7136]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136] [7152] Environment SAP_CODEPAGE = 1160&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] RFC Version 730&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] RFC DLL loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] Install server functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] Call RfcAccept&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] Enter RfcDispatch loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;Tue Feb 26 15:42:53 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] Partner codepage 1100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] connect request host :xx.x.x.xxx , user : anonymous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;&lt;STRONG&gt;[7152] Connected to xx.x.x.xxx Port 21&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr&lt;BR /&gt;7136]&amp;nbsp; - NI handle: 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP server : 220 ZBR-79071 Version V53.17.7Z ready.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; USER anonymous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP server : 230 User logged in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; *****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;&lt;STRONG&gt;[7152] FTP server : 503 Bad sequence of commands.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP disconnect - NI handle : 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; QUIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP server : 221 Service closing control connection. Bye...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP Stop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 21:18:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305699#M1726725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-26T21:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP anonymous connection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305700#M1726726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Daniel Cantin wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the program RFSTP002 for testing the connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User : anonymous&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Pwd : none&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; USER anonymous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152] FTP server : 230 User logged in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;[7152]&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; *****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 7136]&lt;BR /&gt;&lt;STRONG&gt;[7152] FTP server : 503 Bad sequence of commands.&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In selection screen of &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;RFSTP002&lt;/SPAN&gt; have you given any input for &lt;STRONG&gt;Password &lt;/STRONG&gt;field?&lt;/P&gt;&lt;P&gt;From trace file and after checking some of my previous programs, I believe it should be left blank (No input) or an input '&lt;STRONG&gt;!&lt;/STRONG&gt;' can be given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In trace log, it seems after user is already logged in, password(*****) is provided as command to FTP server and resulted in error.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sravan Guduru.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 07:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305700#M1726726</guid>
      <dc:creator>former_member215575</dc:creator>
      <dc:date>2013-02-27T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP anonymous connection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305701#M1726727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have tried with blank password and with “!” as password and we still have the same&lt;BR /&gt;problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 14:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305701#M1726727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T14:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: FTP anonymous connection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305702#M1726728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It of course depends on how the Zebra FTP server is implemented but a typical password in case of an anonymous user can also be any e-mail address in the format of user@address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said I suspect something else is going on. I would first make sure the Zebra FTP server works by using any FTP client and logging all commands sent to the server and the responses. Then reproduce the problem with RFSTP002. It might be that as the "FTP server : 503 Bad sequence of commands" error indicates that the client (RFSTP002) might not be issuing the required FTP commands or it is issuing them in the wrong order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305702#M1726728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T17:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP anonymous connection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305703#M1726729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/190300" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can see that when we try to connect from CMD command everything work fine. So it is difficult to understand why it is not working from SAP side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 18:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305703#M1726729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-27T18:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: FTP anonymous connection problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305704#M1726730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have access to SAP right now but maybe the problem is that RFSTP002 always expects to send a password. Looking at your screenshot, the Zebra FTP server isn't requesting for one. Just copy the program RFSTP002 to ZRFSTP002 and comment out the part where the password is sent to the FTP server and see if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 04:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-anonymous-connection-problem/m-p/9305704#M1726730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-28T04:29:25Z</dc:date>
    </item>
  </channel>
</rss>

