Previous Topic Next topic Print topic


Writing Result Files

While TrueLog files, default output files, and other default Silk Performer result files are stored automatically, other files may also be written.

For a file to be sent from the execution server to the application server, it must be written to the default result folder on the execution server.

Example:
GetDirectory(DIRECTORY_RESULT, sDir, sizeof(sDir));
FOpen(hFile, sFileName, OPT_FILE_ACCESS_READWRITE, OPT_FILE_CREATE);
FWrite(hFile, sOutput, strlen(sOutput));
FClose(hFile);
Previous Topic Next topic Print topic