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

Regarding FM CALL FUNCTION 'FTP_R3_TO_SERVER'

Former Member
0 Likes
613

Hi,

I am using the FM

CALL FUNCTION 'FTP_R3_TO_SERVER'

to send my encrypted file to FTP server. i calling this FM as below

CALL FUNCTION 'FTP_R3_TO_SERVER'

EXPORTING

handle = l_handle

fname = l_fname

character_mode = 'ASCII'

TABLES

text = gt_string1

EXCEPTIONS

tcpip_error = 1

command_error = 2

data_error = 3

OTHERS = 4.

Now my problem is when i m sending i wanted to send as a BINARY MODE data..

how can i do this.. PLease suggenst me

Thanks,

Suresh

Hi,

I am using the FM

CALL FUNCTION 'FTP_R3_TO_SERVER'

to send my encrypted file to FTP server. i calling this FM as below

CALL FUNCTION 'FTP_R3_TO_SERVER'

EXPORTING

handle = l_handle

fname = l_fname

character_mode = 'ASCII'

TABLES

text = gt_string1

EXCEPTIONS

tcpip_error = 1

command_error = 2

data_error = 3

OTHERS = 4.

Now my problem is when i m sending i wanted to send as a BINARY MODE data..

how can i do this.. PLease suggenst me

Thanks,

Suresh

1 REPLY 1
Read only

Former Member
0 Likes
403

Hi Suresh,

Parameter character_mode is used for this. This should have an 'X' for text mode and space for binary mode.

Regards,

John.