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

FTP subcommand: Server reports error

Former Member
0 Likes
7,423

Hi All,

I am using Function module: FTP_R3_TO_SERVER to transfer internal table data to FTP server in text mode.

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

FTP subcommand: Server reports error

Kindly provide your inputs on the same..

Thanks,

Navneeth K..

6 REPLIES 6
Read only

former_member778253
Active Participant
0 Likes
3,157

Hi

Check the function module inputs.

Handle parameter should be '1'.

IP address of the HOST system.

User name and RFC destination and Password.

Within the function module "FTP_R3_To_SERVER", there is another function module: 'FTP_R3_TO_SERVER' destination 'SAPFTP'

If the CERROR return value is '4'.

then, (FTP subcommand: Server reports error) error message will occur.

Hope this works.....

Read only

Former Member
0 Likes
3,157

Hi Navneeth,

Check:

1. The folder is exist or not (The folder u mention as path).

2. Handle should be 1. (no need to assign 1, by default will get in FTP_CONNECT import parameter)

3. Check with standard program RSFTP007.

4. Assign character mode as 'X'.

Regards,

Sri

Read only

0 Likes
3,157

Hi All,

I tried all the options mentioned above. Even the standard program RSFTP007 gives the same error.

I feel there is some setting at the basis level.

Thanks,

Navneeth K.

Read only

0 Likes
3,157

Check in SM59 t code under TCP/IP connection.(One SAPFTP should generate automatically for foreground)

Regards,

Sri

Read only

0 Likes
3,157

HI Naveen,

Was it your problem got solved?

As i'm struggling with the "FTP_R3_TO_SERVER Command error" .

If you would done, Kindly suggest me.

Thank you in Advance..

Read only

0 Likes
3,157

Dear I am facing the following error

FTP subcommand: Server reports error

Message no. 04209

I checked the FTP server permission it is working fine, there are two files the files is placed in the Outbound folder and we move the file from the Outbound to the root folder the command executed successfully, but when we execute a command from the Outbound folder the error is showing

Any one help me out with this?
Thanks in Advance