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: 

EPS_FTP_PUT FTP transfer

T1mey
Participant
0 Kudos

Hello @ all,

I have a problem. I copy a XML file from one SAP server to another.

I use the function module EPS_FTP_PUT with these settings:


CALL FUNCTION 'EPS_FTP_PUT'
  EXPORTING
   RFC_DESTINATION                = lv_desti
   LOCAL_FILE                     = wa_dir_list-name
   LOCAL_DIRECTORY                = '...'
   REMOTE_FILE                    = wa_dir_list-name
   REMOTE_DIRECTORY               = '...'
   OVERWRITE_MODE                 = 'F'
   TEXT_MODE                      = 'X'
   TRANSMISSION_MONITOR           = SPACE

The file copy works fine. The only problem is that the lines in the file are scliced after 255 chars!

Is there a setting how I could have more chars in one line ?

Tim

2 REPLIES 2

Former Member
0 Kudos

Hi Tim

Did you ever manage to solve this issue? I have the exact same problem and would like to avoid handling 500 messages manually.

BR, Flemming

uwe_schieferstein
Active Contributor
0 Kudos

Hello Tim

Have you tried already to use TEXT_MODE = ' ' (i.e. in binary mode)?

Regards

Uwe