Using the below code downloading a file from application server(Unix) to client machine. I want to delete the file from application server once it is downloaded to client
We work on Forms 126.96.36.199.0 and Oracle DB 10g. Client machine are Windows 7.
(clientFile => Name_In('global.g_file_name')
,serverFile => ls_AppServer_Loc)THEN
message('Data exported Successfully');
message('File download from Application Server failed');
WHEN OTHERS THEN
message('File download failed: '||SUBSTR(sqlerrm,1,200));
I have search for solution on OTN. Few suggested to use HOST.
Can any one help me how to use Host() built_in to delete the file.
Host('/bin/rm <complete file path>');