2022 Feb 03 7:29 AM
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.
2022 Feb 03 7:30 AM
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
2022 Feb 03 8:19 AM
sftp is NOT http, are you sure that's how you're supposed to configure it?
2022 Feb 03 9:44 AM
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?
2022 Feb 03 3:41 PM
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.