Skip to Content
author's profile photo Former Member
Former Member

Save files on server using FTP

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 22, 2008 at 05:50 PM

    Hi Simon,

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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Dec 22, 2008 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.