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_CONNECT Problem

Former Member
0 Kudos

Hi Experts;

I want to connect to an FTP server via FTP_CONNECT. But target FTP server port is 22 (SFTP) . when i try to connect to server function gives error. I tried demo program RSFTP002

Can aynone help me about this.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Try using the server ports SAPFTP or SAPFTPA

SAPFTP utilizes ftp from the desptop gui and SAPFTPA uses ftp from the application server. If your job is running in the background SAPFTP would not work as there is no connection of a background job to the desktop gui. If you were to run your program in the foreground then SAPFTP would work.

Please go through the link, it may help you.

http://wiki.sdn.sap.com/wiki/display/ABAP/WorkingwithFTP+Server

You may check this link as well.

0 Kudos

Hi,

May be you need to open telnet port, I think port 24.

Also check whether your user ID and password are correct or incorrect.

check whether the IP you are giving is correct or incorrect.

In SM59 check connection of RFC SAPFTP

Regards,

Umang Mehta

Former Member
0 Kudos

Hi,

when i try to connect to server function gives error

I guess you could have posted the error message too, without which i am not sure how anybody can be of any help

Regards,

Chen