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

transfer file to an external FTP SERVER

HI Gentelemen!!,

I'm trying to open an external FTP connection, sending a file from the MiniSAP.

Which is the appropiate RFC connection that I have to use??

Anybody know how to set RFC connection to access an external FTP server.

This are the MF that I use:

******************************

CALL FUNCTION 'SCRAMBLE_STRING'

  • To encrypt password

.

CALL FUNCTION 'FTP_CONNECT'

  • here i have an import value for RFC DESTINATION

  • return handle - I use it to close the connection

CALL FUNCTION 'FTP_COPY'

CALL FUNCTION 'FTP_DISCONNECT'

  • Use HANDLE numbre to close the connection

Thanks for your help.

POLAK.-

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:51 AM

    I am not sure minisap has sapftp and sapftpa executable.

    Anyway the two RFC destination used to do FTP are SAPFTPA and SAPFTP. This are 2 TCP/IP RFC destination (Type T) that launch either the program sapftp or sapftpa on the application server.

    If these rfc destination are not setup in transaction SM59 you can try to define them but it might not work on minisap.

    Regards

    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.