‎2005 Sep 02 9:45 AM
Hi Guys,
I have never used FTP_CONNECT and FTP_COMMAND Function Modules before. I need to use this for one of the interfaces I am working on (get a file from an FTP server to SAP R/3). Where does the file gets saved/copied after I use the 'get' command? I mean is there a specific directory where I can pick the file from? Do I have to specify this in the program?
Thanks!
‎2005 Sep 02 9:52 AM
Hi,
You can get enough information from this blog by Thomas Jung.
/people/thomas.jung3/blog/2004/11/15/performing-ftp-commands-from-abap
Also you can search the ABAP Forum for posts and example code.
Thanks
Vinod
Message was edited by: Vinod C
‎2005 Sep 02 10:28 AM
‎2005 Sep 02 10:31 AM
Hi Leowell,
Kindly reward points for helpful anwers.
Thanks
Vinod
‎2005 Sep 02 10:33 AM
I was about to do that but don't know how. Sorry, I am new to SDN.
‎2005 Sep 02 10:48 AM
Hi,
You can find different radio buttons on the left side of the answers. You can click on the relevant one.
Please check the following site for more info.
https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm#posted
Thanks
Vinod
‎2005 Sep 02 11:16 AM
Hi Vinod,
I don't see those radio buttons. I wanted to give you a 10, but I can't see the buttons.
Thanks,
Leowell
‎2005 Sep 02 11:43 AM
i am also facing same problem. I wrote a mail to SDN regarding that . please see their response below: --
Hello Surpreet,
I apologize for this problem. We are aware of it and hope to have it resolved soon.
Kind Regards,
David Branan
SAP Developer Network Team
‎2005 Sep 02 11:48 AM
Hi,
I too send a mail to SDN.
Leowell, can you please come back and reward points one this problem is solved.
Thanks
Vinod
‎2005 Sep 02 9:55 AM
In FTP_COMMAND itself you can give directory name where you want to PUT/GET file. For example, search this forum or 'where used list'.
‎2005 Sep 05 8:28 AM
Hi Sanjay,
I used this syntax when I run the program RSFTP002 just to test the get command:
get test.dat /tmp/test.dat
where /tmp/test.dat is my SAP Unix directory.
But when I went into the unix server, I did not find test.dat.
Am I using the correct syntax?