Can I override the Pega server as the default file saving location to any other location
I am using an OOTB Java snippet to generate some files as per my requirement.
However I do not want to save the new files into Pega Server. What changes need to be done if I want to save into my local machine?This code is generating files and saving them perfectly into the Pega Server.
try {
PRFile prFile=new PRFile("C:\\PegaRPA\\"+FileName);
PROutputStream pros=new PROutputStream( prFile );
PRWriter pw=new PRWriter("C:\\PegaRPA\\"+pros, "UTF-8");
pw.write(TxtOutput);
pw.close();
pros.close();