[PHP-WIN] Re: Getting the size of a file on a windows share [solved]

2009-08-26 Thread Frank Heyne
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@lists.php.net wrote: > Hi, > > I need to read the file size of a file which is on a windows server, the file > name

[PHP-WIN] Getting the size of a file on a windows share

2009-08-25 Thread Frank Heyne
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