11-24-2009 10:00 AM
Hi all.
I want to get a list of files exist at a specific FTP address.
For that I'm using FTP_CONNECT (OK) and after I want to execute FTP_COMMAND with parameter command = 'ls' in order to recievce the files list in output table data[].
I keep on getting an exception 3 (data_error).
Anyone can help please ?
Thanks,
Rebeka
12-07-2009 7:13 AM
Hi,
i am also getting the same kind of error at the reading fiel from the FTP..
Could you please suggest me that what you have done to solve this problem..
Thanks
-Arun
11-24-2009 10:14 AM
Hi,
Here is the sample code for the same in the link.
http://an-abaper.blogspot.com/2009/10/file-transfer-protocolftp.html
Please close the thread, if solved
Regards,
Aditya
11-24-2009 10:36 AM
Hello,
I know by experience the ABAP programmers learn most based on examples.
In every SAP system you have the following FTP example programs, analyze the source code and check how function modules like FTP_CONNECT and FTP_COMMAND work :
RSFTP002 Execute FTP Command
RSFTP003 FTP put / get Test
RSFTP004 FTP Copy
RSFTP007 Test FB:FTP_SERVER_TO_R3 / FTP_R3_TO_SERVER
RSFTP008 Test FB:FTP_CLIENT_TO_R3 / FTP_R3_TO_CLIENT
RSFTP009 Test FTP put with Verify
RSFTP011 FTP Copy
Success.
Wim
12-07-2009 7:13 AM
Hi,
i am also getting the same kind of error at the reading fiel from the FTP..
Could you please suggest me that what you have done to solve this problem..
Thanks
-Arun
12-23-2009 12:33 PM
12-23-2009 12:37 PM