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

RFC Connection Error: ICM_HTTP_CONNECTION_FAILED for SFTP server setup

0 Likes
2,267

Hi,

I was trying to transfer files into SFTP using ABAP program and I'm setting up HTTP RFC connection.

This is my configuration:

But I got this error:

Can someone help me? Thank you.

Hi,

I was trying to transfer files into SFTP using ABAP program and I'm setting up HTTP RFC connection.

This is my configuration:

But I got this error:

Can someone help me? Thank you.

4 REPLIES 4
Read only

sveabecker
Product and Topic Expert
Product and Topic Expert
0 Likes
2,081

Welcome and Thank you for visiting SAP Community to get answers to your questions. I would like to recommend our Q&A tutorial https://developers.sap.com/tutorials/community-qa.html

Furthermore, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Regards, Svea

SAP Community Global Moderator


----- Stay up-to-date with SAP Community and subscribe to What's New today! -----
Read only

abo
Active Contributor
2,081

sftp is NOT http, are you sure that's how you're supposed to configure it?

Read only

0 Likes
2,081

The main objective is to transfer data from SAP to SFTP server using HTTP class by using CL_HTTP_CLIENT class / IF_HTTP_CLIENT interface. Is there another way around for SAP to transfer data to an SFTP server?

Read only

abo
Active Contributor
0 Likes
2,081

You'll have to "talk" sftp.

Long time ago, I had to call an external program to send a file saved in a local directory from the SAP server; I'm not aware of any function module or class to do that.