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

SFTP

Former Member
0 Likes
1,041

Hi Experts,

I try to do SFTP to put a file in the remote server. I am not able to SFTP to the remote server.

Please find the code below.

CLEAR g_f_unixbef.

CONCATENATE 'chmod 777' '/usr/sap/check.txt' INTO

g_f_unixbef SEPARATED BY space.

PERFORM unix_command.

CLEAR g_f_unixbef.

CONCATENATE 'sftp -B check.txt' 'ftpadmin@@xx.yy.xx.sss INTO

g_f_unixbef SEPARATED BY space.

PERFORM unix_command.

Kindly appreciate your help.

Thank You.

Regards,

Uma

8 REPLIES 8
Read only

Former Member
0 Likes
972

Hi Uma,

Can you be more precise..are you facing problem in concatenating the path? If yes just revert back what are all the paths that you want to concatenate i will try to help you.

Cheers!!

Read only

0 Likes
972

Hi Balu,

Thanks for your reply.

I don't have problem with concatenating.

I have problem in doing SFTP . So would like to know whether there are any basis settings for SFTP (SAP 4.6B) or the correct way of doing SFTP.Kindly appreciate your help.

Thank You.

Read only

0 Likes
972

Hi,

I am able to exceute the SFTP commands in command line but not from SAP.

Kindly help.

Thank You.

Regards,

Uma

Read only

0 Likes
972

solved

Read only

0 Likes
972

hi,

i have the same requirement as yours, to use sFTP to connect to other servers. Can you teach me how to do it? I do not have the idea on how to implement it.

Many thanks in advance!

Louisse

Read only

0 Likes
972

Hey Uma,

I am also facing the same challenge. i need to post an XML file from SAP to a third party FTP Server through a secured network.

In short..i need to SFTP a file...can you please let me know how you did it?

I saw your pos that it is solved..

is there a special way of doing it..do i need to instruct my basis people for any sepcial settings to SFTP a file..

Please help...will be waiting for your reply...........

Any help will be highly appreciated....

Regards,

Jessica Sam

Read only

0 Likes
972

Hey Uma..

I am also facing the same challenge. i need to post an XML file from SAP to a third party FTP Server through a secured network.

In short..i need to SFTP a file...can you please let me know how you did it?

I saw your pos that it is solved..

is there a special way of doing it..do i need to instruct my basis people for any sepcial settings to SFTP a file..

Please help...will be waiting for your reply...........I want to know how you solved the problem as it would be hint for me to solve it...........

Any help will be highly appreciated....

Regards,

Jessica Sam

Read only

0 Likes
972

did you try this [thread|;?