READLN

Post Reply
gazim
Posts: 66
Joined: Sun Feb 18, 2001 1:01 pm

READLN

Post by gazim »

I am trying to read a file over the network.
My Syntax looks like,

<$tmpfile= "\\image2\vol\UserFiles\gazim\Params31_200139145120.tmp">
<READLN $tmpfile>
loop: $loop
<p>$ret
</READLN>

I got the following error;

<!-- 002 /templates/test:11: Can't open \\image2\vol1\UserFiles\gazim\Params31_200139145120.tmp: Permission denied in the function tac_init -->
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

READLN

Post by John »

If you are running this under IIS then the anonymous user account IUSR_<machine> that IIS runs as does not typically have permission to access network resources, especially with UNC names. If you map that volume to a drive letter you may be able to access it by specifying the path with drive letter.
John Turnbull
Thunderstone Software
Post Reply