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: 

Connect and Place file in HTTP from ABAP

0 Kudos

Hi All,

I have a requirement to place the file in HTTP. I have gone through the standard program - RSHTTP20, with this i got an idea how to connect.

Can you please provide me your inputs to place file in HTTP.

Thanks

2 REPLIES 2

thanga_prakash
Active Contributor
0 Kudos

Hello Sri Ram,

Follow the below sequence, to transfer the files.

call function 'HTTP_SCRAMBLE'  --> To scramble user name and password 

call function 'FTP_CONNECT'    --> To connect to HTTP

call function 'FTP_COMMAND'    --> To access the directory

call function 'FTP_R3_TO_SERVER'-> To transfer the file

call function 'FTP_DISCONNECT'  -> To disconnect from HTTP

call function 'RFC_CONNECTION_CLOSE' --> To close the RFC call to HTTP

Regards,

TP

0 Kudos

Hi Prakash,

I have tried using FTP, but no use.

Thanks,

Srikanth