Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FTP file reading from abap program

Former Member
0 Likes
3,540

Dear Friends,

I have a file in the FTP server. How to read that file through ABAP program.

The file is not in SAP application server , it is in a file server which has no links to sap esrver.

can anyone tell hoe to read the file through ABAP.

Thanks

RAj

3 REPLIES 3
Read only

Former Member
0 Likes
1,103

Hi Varatharaj ,

To get the file from FTP server from ABAP program you need to use FTP_CONNECT and FTP_COMMAND function module along with the FTP server user id and password and file name etc.

To read from the FTP server you need to know the user id and password of that FTP server. Then

by GET of Business Connector (BC) you can copy that file from the FTP to the application server.

Regards

Pinaki

Read only

Former Member
0 Likes
1,103

HI,

You need to USE FTP_CONNECT, FTP_COMMAND & FTP_DISCONNECT

Refer to this link..

Read only

Former Member
0 Likes
1,103

hey

type FTP and give search in se38

u will get list of FTP sample programs

u can make use of that

with regards

s.janagar