From: "Frank Heyne" on
The cause of the error was that the account the web server was running did not
have access rights to the share :-(
Now all works fine.

Frank

On 25 Aug 2009 at 20:33, php-windows(a)lists.php.net wrote:

> Hi,
>
> I need to read the file size of a file which is on a windows server, the file
> name looks like
> \\server\share\path\file.ext
>
> I already tried filesize() and fopen() followed by stream_get_meta_data(), but
> both methods do not work.
>
> Any ideas how this simple task can be solved?
>
> Thanks
>
> Frank
>