Hi There,
I am getting 'Illegal seek' error when I try to add files to the task via ipl. Here is the snippet of the code. The file that is being attached has correct permissions set.
$task->AddFile("templatedata/NonJFP/MENU_TREE/output/HelpReferenceContentIndex.xml", "Files Attached") || ($AddfileRes=$!);
if ($AddfileRes)
{
debug("Error atttaching the xml file to the task:\n $AddfileRes");
$task->CallBack(1,"Error in Attaching file");
}
else
{
debug("HelpReferenceContentIndex.xml file attached to the job");
}
$task->CallBack(0,"XML Generated");
Error Message: Error atttaching the xml file to the task:
Illegal seek
Any clue?
Regards,