Hi, I need to use the readfile function to read a file that is on a network share.
I tried everything on the php.net help page, but it still doesn't work. File_exists always returns false and the readfile function returns the following error:
Warning: readfile(\\172.16.3.35\storage6\2006-07-07\SP1\SP1_2006-07-07_14-06-39_r10.wmv) [function.readfile]: failed to open stream: Invalid argument in C:\web\websites\auditmedia2005\_admin\download_recorte.php on line 81
File not found.
The same script can read a file on the local HD, no problems.
My network share has a permisson to Everyone (Full Control). I have some delphi applications that can read the files without problems, so I'm think the problem is a permission setting on the network share for the user that runs IIS on the webserver. Or can it be something else?