I'm using Symfony, and the component Finder. I want to get a file whose name begins with dot (".file.txt") and this file is in other server.
If I do this:
$finder
->files()
->ignoreDotFiles(false)
->in("ftp://user:pass@exmple.example:/myDir/")
;
So my question is: Why the method ignoreDotsFile
doesn't works when is ftp address?
The code is very simple and clear, so if does not work is by a bug of Finder + FTP component.
In fact FTP causes a lot of bugs like these:
If connects with a windows machine this code would work fine but the problem was with linux server.
Answer provided by: Javier Eguiluz