hi
I am trying to check whether a particular file exists in the FTP Folder..
I have to check whether there exists any file which starts with 'bw_results'.
Till now I have used the following code to connect to that particular folder and from here on I am clueless on how to proceed..
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = p_user
password = p_passw
* ACCOUNT =
host = p_host
rfc_destination = p_rfdest
* GATEWAY_USER =
* GATEWAY_PASSWORD =
* GATEWAY_HOST =
* IMPORTING
* HANDLE =
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.