Hi,
While calling the function module FTP_CONNECT, i am getting the error 'FTP_CONNECTION_FAILED'.
I called like below and i passed values for userid, password, host, and rfc_destination.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = userid
password = password
host = host
rfc_destination = rfc_destination
IMPORTING
HANDLE = l_ftp_handle
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
IF sy-subrc <> 0.
raise ftp_connection_failed.
ENDIF.
Could you please tell me cause for the error.
Thanks,
venkatesh.