Application Development 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: 

How to write file to FTP server?(not from internal table)

Former Member
0 Kudos

Hi All,

I know there is one way to create file on FTP server directly from a internal table by executing ABAP FM. But my case is the required file is not in the format of internal table, we need to write that file line by line with different data.

is it the only way to creat the file on Application server, then call FTP command to upload it?

6 REPLIES 6

Former Member
0 Kudos

hi,

use this TCODE>

CG3Z - local to ftp.

Reward if useful.

Gaurav

0 Kudos

But if the ftp server is not on the same machine as application server, this tcode won't work.

Former Member
0 Kudos

hi,

ask the basis guys,they will give the address which you want.paste that adddress in destination address.It will work..

Gaurav

0 Kudos

I need to upload a file from Application Server to another FTP server, CG3Z won't work.

0 Kudos

try T-code - KFTP

Former Member
0 Kudos

I used FTP command to upload the file.

Thanks all for your help.

Legend.