Click HERE to see how Saviynt Intelligence is transforming the industry. |
02/15/2024 05:45 AM
Hi Team,
I have worked on a jar file that reads a input file from datafiles in saviynt after my jar code reads the data successfully i want to transfer it to success folder else to failed folder.
Kindly provide your inputs.
Thanks
02/15/2024 06:24 AM
Hi @Deepanshu271 ,
The way you are reading file using Java functions / class or methods . You can also use it to move it, right? I have not come across such a need but would have tried
myFile.renameTo(new File("/the/new/place/newName.file")); or others ways in Java to do that.
I think the user running you Java Jar might have access to move files also, if not , then Saviynt might help in that.
Best Regards,
Amit
If helped , please ACCEPT SOLUTION and give KUDOS.