Re: scandir doesn't find all files

[email protected] (Carlos Medina)
Newsgroups php.general
Organization SimplyNetworks
Message-ID <[email protected]>
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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.