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: 

FTP subcommand: Server reports error

xiajiqiang_stark
Discoverer
0 Kudos
1,077

I am using Function module: FTP_R3_TO_SERVER to transfer data to FTP server

On executing the function module, I am getting the following error:

FTP subcommand: Server reports error

I execute program RSFTP007 ,and it show the same error.

the functions 'FTP_CONNECT' and 'FTP_COMMAND' are executed successfuly,and command 'set passive on' is execute before executing 'FTP_R3_TO_SERVER'.

Thanks,

1 ACCEPTED SOLUTION

xiajiqiang_stark
Discoverer
0 Kudos
992

Finally i solved the problem myself.I active rfc trace in sm59, so i can check the FTP log in local file,

i see error log 'FTP server : 425 Rejected data connection for transfer of "/C1A2D016BAA91EEE888FE179F4E7E4DF", IP addresses of control and data connection do not match'

it seem to be internet problem,then i find the FileZilla setting,there is a security setting

Initially, the first item was selected by default, and later I changed it to the last item

In summary, due to the IP translation of the outbound interface in the private network, IP verification may not be passed

1 REPLY 1

xiajiqiang_stark
Discoverer
0 Kudos
993

Finally i solved the problem myself.I active rfc trace in sm59, so i can check the FTP log in local file,

i see error log 'FTP server : 425 Rejected data connection for transfer of "/C1A2D016BAA91EEE888FE179F4E7E4DF", IP addresses of control and data connection do not match'

it seem to be internet problem,then i find the FileZilla setting,there is a security setting

Initially, the first item was selected by default, and later I changed it to the last item

In summary, due to the IP translation of the outbound interface in the private network, IP verification may not be passed