Hi all,
my requirement is to read files from FTP server and keep in application server, then delete corresponding files from FTP.
I have done all steps, except keeping it in application server, where it is failing.
below is my code for keeping it in application server. please help me what is wrong here.
concatenate 'lcd' '/usr/sap/tmp into l_f_command separated by space.
call function 'FTP_COMMAND'
EXPORTING
handle = l_f_handle
command = l_f_command
compress = 'N'
TABLES
data = l_t_data
EXCEPTIONS
.
please let me know if something is wrong in the above code.
Regards,
Prasad