4.0.8-dev filesize function broken now?
| From: | Asendorf, John | Date: | Fri, 28 Sep 2001 17:13:56 +0000 |
| Subject: | 4.0.8-dev filesize function broken now? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9603@lists.php.net to get a copy of this message | ||
I have a little script which moves some files aournd and this line:
echo "<tr><td>$flename " . filesize("$flename") . "(bytes) has
been changed
to $newname and has been moved!</td></tr>\n";
Is getting this error (don't let the words 'Microsoft Word' throw you off,
they are part of the file name):
Warning: stat failed for Microsoft Word - 34-493.pdf (errno=2 - No such file
or directory) in d:\InetPub\wwwroot\cc\resolutions\rmdres.php on line 53
But then I get the right message returned:
Microsoft Word - 34-493.pdf (bytes) has been changed to 34-384.pdf and has
been moved!
Warning: stat failed for Microsoft Word - 34-384.log (errno=2 - No such file
or directory) in d:\InetPub\wwwroot\cc\resolutions\rmdres.php on line 63
This used to work with 4.0.6-dev and before...
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit