WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Error code 5 when creating message body
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1140786627

Message started by hbreuer on Feb 24th, 2006 at 2:10pm

Title: Error code 5 when creating message body
Post by hbreuer on Feb 24th, 2006 at 2:10pm
Hallo,

I follow your instructions creating the email body using @@@%WD_FILE%@@@, but I receive an error code 5, access denied for all files.

Those files have no extension, and are just plain text. I cannot include an extension, as the program which creates them is not controlled by me.

I have other manually mane watching applications, and those files can be copied into a variable for reading.

I don't know where the problem lies.

I have checked the 'Wait until the file is awailable' box.

Many thanks for help

Rgds Hans

Title: Re: Error code 5 when creating message body
Post by Gert on Feb 24th, 2006 at 6:24pm
access denied.... sigh.
The other process is probably running under a different user-account, thereby limiting access to those files to that account.

I never tried it, but maybe you can *trick* a bit here.

If you first use the "auto copy" plugin, and do NOT CHECK the option to "copy security attributes", I guess the "target file" of this copy task will be free for all.
The trick would be to run the "auto copy" task as a service (LocalSystem account) so it has access to all local files.

Gert

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.