
class test
{
public static void main(Args _args)
{
str filePath;
str fullFilePath;
str fileContent = "File Content exmple";
//File path + name
filePath = System.IO.Path::GetTempPath();
fullFilePath = filePath + 'f' + guid2str(newGuid()) + '.txt';
//Save file and show in the web browser
File::SendStringAsFileToUser(fileContent, fullFilePath);
info('File Path : ' + fullFilePath);
}
}
