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

Diff. between several FTP FMs.

Former Member
0 Likes
675

Hi,

Could somebody give the differences between these function modules.

FTP_R3_TO_SERVER, FTP_R3_TO_CLIENT

Thanks and Regards

satish.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
556

Function module FTP_R3_TO_CLIENT: RFC destination needs to be specified.

Function Module FTP_R3_TO_SERVER: The host will be taken during execution of the same wherein the username & password will be provided to connect remote host and data can be passed to the host system.

4 REPLIES 4
Read only

Former Member
0 Likes
556

Hi Satish,

In Both are same except passing RFC destination.

In FTP_R3_TO_CLIENT Passing of RFC destination is mandatory in function module that is static. Means if should be in importing parameters. It cannot be dynamic.

In FTP_R3_TO_SERVER you can pass RFC destination dynamically.

Ashven

Read only

0 Likes
556

Hi,

So If I understood correctly, FTP_R3_TO_CLIENT can be called without using the FMs FTP_CONNECT etc .. before whereas FTP_R3_TO_SERVER needs them. Is that or am I missing something.

Regards

satish

Read only

Former Member
0 Likes
556

Hi Sathish,

In the function module FTP_R3_TO_CLIENT we need to specify the RFC destination where as FTP_R3_TO_SERVER we won't provide it but at the same time FTP handle.

so what you writen here is right mr Sathish

Regards

Sudheer

Read only

Former Member
0 Likes
557

Function module FTP_R3_TO_CLIENT: RFC destination needs to be specified.

Function Module FTP_R3_TO_SERVER: The host will be taken during execution of the same wherein the username & password will be provided to connect remote host and data can be passed to the host system.