Forum Discussion
Oferv
13 years agoSuper Contributor
There you go,
function PackResults()
{
var WorkDir, FileName, FileList, ArchivePath;
WorkDir = Project["ConfigPath"] + "SentReports\\";
FileName = WorkDir + "Results.mht";
Log["SaveResultsAs"](FileName, 2);
FileList = slPacker["GetFileListFromFolder"](WorkDir);
ArchivePath = WorkDir + "CompressedResults";
if (slPacker["Pack"](FileList, WorkDir, ArchivePath))
Log["Message"]("Files compressed successfully.");
else
Log["Message"]("Files wasn't compressed successfully.");
it is a copy from your website.
Thanks
function PackResults()
{
var WorkDir, FileName, FileList, ArchivePath;
WorkDir = Project["ConfigPath"] + "SentReports\\";
FileName = WorkDir + "Results.mht";
Log["SaveResultsAs"](FileName, 2);
FileList = slPacker["GetFileListFromFolder"](WorkDir);
ArchivePath = WorkDir + "CompressedResults";
if (slPacker["Pack"](FileList, WorkDir, ArchivePath))
Log["Message"]("Files compressed successfully.");
else
Log["Message"]("Files wasn't compressed successfully.");
it is a copy from your website.
Thanks
Related Content
Recent Discussions
- 2 days ago