Re: scandir doesn't find all files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
check the permissions:

if the server can access to files or create files
if the FTP creates the files with the right permission
if a script is running, check if the script can creates the files with
the right permission


Regards

Carlos Medina


Am 22.06.2013 21:10, schrieb Daniel Pöllmann:
> Hi,
> I have some files in a directory - some are uploaded via ftp and some other
> are created by a php script.
> 
> Scandir just finds the uploaded files, but none of the created files.
> I can't run chown() because the server is part of shared hosting.
> 
> I can't find anything about this behavour in the documentation.
> 
> Best wishes,
> Daniel
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux