|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-07-23 19:01 UTC] master at oscontract dot com
Description:
------------
I was uploading files to my domain from my harddisk.
Everything was working fine.
But when the directory reached 1032 files, I started having problems, Iam unable to upload further files from harddisk, it returns the following error.
" failed to open stream: Permission denied "
though it was working fine, and I created few test dir and it uploads fine.
Could this error be because of number of files that can be stored in a dir is 1032 the max number of files that can be stored in a dir ?
Reproduce code:
---------------
copy("cpics/testdir/wal3.jpg","cpics/b1456/wal3.jpg");
Expected result:
----------------
it should copy a file from one folder to another folder, the destination folder already has 1032 files, it is not accepting any ore.
Actual result:
--------------
The result is the error
Warning: copy(cpics/b1456/wal3.jpg): failed to open stream: Permission denied
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
<?php copy("cpics/testdir/wal3.jpg","cpics/b1456/wal3.jpg"); ?> Just a line that is all. There are about 50 directories in the cpics directory. One of the directory 'b1456' has 1032 image files, rest other directories have about 100 to 50 images. Now this dir:b1456 is where am unable to upload any further files. Rest other directories are fine and am able to use the above script. Can a directory not store more than 1032 files ? Let me know if you need any further details.