Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Encrytion Function

Former Member
0 Likes
477

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
439

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

2 REPLIES 2
Read only

Former Member
0 Likes
440

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

Read only

0 Likes
439

Hi Ravi,

It can also be achieved using GUI_DELETE_FILE. Thanks again.

Regards,

Patrick