09-12-2008 4:18 PM
HI SAP guys,
I need to read the files name list from the FTP server directory.
Can any one send me the sample code please.
Regards
Renuka
09-12-2008 4:28 PM
After connecting into FTP server use
For example all files from /pub directory then
call function 'FTP_COMMAND'
exporting
handle = hdl
command = p_cmd " Use ls /pub
compress = p_compress
tables
data = i_result
exceptions
command_error = 1
tcpip_error = 2.
Please check the testing program RSFTP002
a®
09-12-2008 4:37 PM