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: 

problem with function module FTP_CONNECT

Former Member
0 Kudos

Hi all,

we have an issue with function module FTP_CONNECT. Since the migration to Linux, the function module is not working.

error:

Attempt to set up connection to 'sys host' failed

Any idea would be a precisous help,

Regards,

Julien

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check the RCF connection using trasaction sm59 !!!

Also check if standard report RSFTP002 is working fine ? If yes probably you

you must be using SAPFTP to start the server , try using SAPFTPA

Hope it helps

Regards

Bhanu

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos

Hi Julien,

Chek if there are any restrictions on the FTP side to open connections from external systems.

Regards,

ravi

0 Kudos

I am using a FTP client with this server, which works fine (Same user/pwd that I use in the FM). So I guess connections are open with FTP.

Note: We have to use SFTP to connect to the new server via the ftp client (old server= FTP). Is there any parameters to define in the FM for SFTP?

ashish_shah5
Participant
0 Kudos

Ask your Network person to add host.

Regards.

0 Kudos

hi Ashish,

could you please detail?

Former Member
0 Kudos

Check the RCF connection using trasaction sm59 !!!

Also check if standard report RSFTP002 is working fine ? If yes probably you

you must be using SAPFTP to start the server , try using SAPFTPA

Hope it helps

Regards

Bhanu

0 Kudos

SAPFTP is working fine in SM59 and RSFTP002 does'nt (same error)

with SAPFTPA, I have this error:

Attempt to set up connection to 'host' failed