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

Save files on server using FTP

Former Member
0 Likes
930

Hi SAP Gurus,

Does anyone know how I could save some output files on an ftp server from my sap program which will operate in background.

At first I had made the program using GUI Functions but now the client talls me it has to be executed in background. As of now I have only been able to save to the applications server and move it from there using transaction CG3Y.

The client tells me that I can do it using FTP but I have no idea how to implement it, him neither. I know it could be done using Xi but he says it will be too slow for files of around 100-150 MB.

Any solutions anyone??

Regards,

Simon

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
830

Hi Simon,

For help on FTP program search the forum. You will get many sample programs.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
831

Hi Simon,

For help on FTP program search the forum. You will get many sample programs.

Read only

0 Likes
830

Hi,

First use HTTP_SCRAMBLE & then output of this as input to FTP_CONNECT FM. This will establish your connection with the FTP server. Then use FTP_COMMAND where you will pass the FTP command....put <source file> <destincation file>. And finally use FTP_DISCONNECT to disconnect.

Hope this helps.

Regards,

Bharati

Read only

former_member194669
Active Contributor
0 Likes
830

Please check this Blog

Link: [FTP|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/994] [original link is broken] [original link is broken] [original link is broken];

au00AE