Tim Sargent
21-Nov-2006, 10:17 PM
I have made this simple change and it may be useful for others. I am sending in my exception log files with other settings files as a compressed file by FTP. But the default behavior is an unchangeable file name so only one can be saved. By solution is in the ExceptionLog.pas file:
function TmpTGZFileName: string;
begin
// Result := TempPath + 'CompressFiles.tgz';
Result := TempPath + ExtractFileName(ChangeFileExt(CurrentOptions.Outpu tFile(ParamStr(0)), '.tgz'));
end;
function TmpTGZFileName: string;
begin
// Result := TempPath + 'CompressFiles.tgz';
Result := TempPath + ExtractFileName(ChangeFileExt(CurrentOptions.Outpu tFile(ParamStr(0)), '.tgz'));
end;