WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Error code 5 when creating message body (Read 2633 times)
YaBB Newbies

Posts: 11
Palma de Mallorca
Error code 5 when creating message body
Feb 24th, 2006 at 2:10pm

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
Back to top
IP Logged
YaBB Administrator

Posts: 2270
The Netherlands
Re: Error code 5 when creating message body
Reply #1 - 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.

Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1