Skip to Content

EPS_FTP_PUT FTP transfer

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2010 at 12:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2010 at 12:28 PM

    Hello Tim

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

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.