Re: Getting the size of a file on a windows share [solved]
| From: | Frank Heyne | Date: | Wed, 26 Aug 2009 15:14:23 +0000 |
| Subject: | Re: Getting the size of a file on a windows share [solved] | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-29554@lists.php.net to get a copy of this message | ||
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 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
>