Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8689

keep file from FTP to application server

$
0
0

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


Viewing all articles
Browse latest Browse all 8689

Trending Articles