12-22-2008 5:48 PM
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
12-22-2008 5:50 PM
Hi Simon,
For help on FTP program search the forum. You will get many sample programs.
12-22-2008 5:50 PM
Hi Simon,
For help on FTP program search the forum. You will get many sample programs.
12-22-2008 5:56 PM
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
12-22-2008 6:26 PM
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