Page 1 of 1

failed to write file to directory

Posted: Thu Mar 01, 2007 1:58 pm
by speedsterrules
ob_xxxxx..BeforeJob (DoJobReport): Failed to write file xxx.txt to directory \\dirpath\

I am getting this error while trying to send the information from DSJobReport(1; \\dirpath\;) to the directory.

The DS server is windows.

Thanks

Posted: Thu Mar 01, 2007 3:33 pm
by ray.wurlod
Check that you have write access to every folder (including the root folder) in the pathname, and that every folder named in the pathname actually exists. Finally, check that the final entry in the pathname is the name of a folder.

Posted: Thu Mar 01, 2007 3:43 pm
by speedsterrules
Thanks for your comments Ray.

I realized there was some problem with the pathname for the directory. Its running fine now.

But I had another quick question. How can we attach an alias ID to my output filename. I mean it says if the job has an alias ID, the file would be named accordingly.

Thanks

Posted: Thu Mar 01, 2007 3:47 pm
by ray.wurlod
Unrelated to thread topic. Please start a new thread so that future searchers will find it more easily.