<?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 Command Error while changing directory in SAP App Server/Access Issue?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288312#M1634501</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;Which type of FTP (RFC) connection are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2011 14:51:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-11T14:51:46Z</dc:date>
    <item>
      <title>FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288311#M1634500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to fetch files from External FTP Server and trying to place them in a specific folder in Application Server. My SAP App Server is UNIX based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Called HTTP_SCRAMBLE&lt;/P&gt;&lt;P&gt;Called FTP_CONNECT&lt;/P&gt;&lt;P&gt;Called FTP_COMMAND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; * STEP 1: TO GO TO EXACT FOLDER IN THE FTP SERVER* &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Called FTP_COMMAND and passed the command  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CD &amp;lt;Exact Location in FTP Server&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; * STEP2: TO CHANGE THE DIRECTORY IN SAP APPLICATION SERVER WHERE FILES HAVE TO GET SAVED* &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Called FTP_COMMAND and passed command  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LCD &amp;lt;Exact Location in Application Server&amp;gt;  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; *STEP 3 :TO GET ALL FILES* &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Called FTP_COMMAND and passed command  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; mget  *    &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In STEP2 where I am trying to change the APPP server directory I always get a FTP_COMMAND Error , SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;In Command Prompt if i try connecting to the FTP server again in &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; LCD &amp;lt;Exact Location in Application Server&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; I get an error saying the file not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also checked my READ WRITE DELETE Access by calling Autority check and looks like I have all access to the Folders in SAP APP Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it an access issues? Unix command Issue? or SAP APP Server path issue? I had been searching hard in forums but was not of much help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If some one can throw some light on this issue it would be of great help to me and others having similar issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 14:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288311#M1634500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T14:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288312#M1634501</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;Which type of FTP (RFC) connection are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 14:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288312#M1634501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T14:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288313#M1634502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using standard SAPFTP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

dest = 'SAPFTP'.

*Connect to FTP server
  CALL FUNCTION 'FTP_CONNECT'
    EXPORTING
      user            = user
      password        = pwd
      host            = host
      rfc_destination = dest
    IMPORTING
      handle          = hndl
    EXCEPTIONS
      not_connected   = 1
      OTHERS          = 2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 14:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288313#M1634502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288314#M1634503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jessica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with dest = 'SAPFTPA' instead of SAPFTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288314#M1634503</guid>
      <dc:creator>arseni_gallardo</dc:creator>
      <dc:date>2011-10-11T15:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288315#M1634504</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;Yes Arseni is right &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPFTP is ftp for presentation: so your pc&lt;/P&gt;&lt;P&gt;SAPFTPA is for application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(so that can explain your error: you are trying to download the file in a path of your pc, but that path doesn't exist)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not the rule, but the basis (or SAP) are use to call like above: if you want to make sure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run transaction SM59, node TCP/IP: here you can see how those RFC destination are defined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288315#M1634504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288316#M1634505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Arsin &amp;amp; Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for help. Now it works. Is there a way I can unzip the files when getting them and also sett he mode to ASCII? &lt;/P&gt;&lt;P&gt;Also will there be similar issues in Test and Production Server in terms of File paths etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I hard code the Application server paths in Dev? will they be same in test and prod? What other issues do we encouter delaing with FTP's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jessica sam on Oct 11, 2011 6:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288316#M1634505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T15:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Command Error while changing directory in SAP App Server/Access Issue??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288317#M1634506</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 know there are several standard classes (like CL_ABAP_ZIP) but I'm not sure if they can unzip the files, you can give a look in the forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can create a script or an external command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:54:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ftp-command-error-while-changing-directory-in-sap-app-server-access-issue/m-p/8288317#M1634506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T15:54:09Z</dc:date>
    </item>
  </channel>
</rss>

