‎2006 Jul 11 4:41 AM
Dear all,
Good day. Apparently, I am developing a download program (namely ebanking program), where I'll retrieve all the necessary FI data from the system and download into my local file (with .txt extension).
However, I may need the downloaded file (e.g. down_file.txt) which is saved in my local pc, to be encrypted. Thus, at the end of the program, I'll trigger an encryption program to perform encryption on down_file.txt and lastly produce the encrypted file at the same directory (where down_file.txt located at). Upon encrypted file has been produced, original downloaded file (down_file.txt) will be deleted by leaving encrypted file alone at the same directory.
Is there any function module or other ways to perform deletion on the downloaded text file above?
Any advise will be much appreciated.
Regards,
Patrick
‎2006 Jul 11 4:46 AM
You can do that using the method FILE_DELETE of the class CL_GUI_FRONTEND_SERVICES. However, please keep in mind that this will work only for the files on your desktop (Presentation server).
Regards,
Ravi
Note : Please mark all the helpful answers
‎2006 Jul 11 4:46 AM
You can do that using the method FILE_DELETE of the class CL_GUI_FRONTEND_SERVICES. However, please keep in mind that this will work only for the files on your desktop (Presentation server).
Regards,
Ravi
Note : Please mark all the helpful answers
‎2006 Jul 13 9:27 AM
Hi Ravi,
It can also be achieved using GUI_DELETE_FILE. Thanks again.
Regards,
Patrick