cancel
Showing results for 
Search instead for 
Did you mean: 

transfer file to an external FTP SERVER

Former Member
0 Kudos

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.-

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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