Symfony finder, Ignore dot files doesn't work with FTP address

Viewed 422

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/")
;
  1. I don't get any file but, if I rename the file and remove dot ("file.txt") then I can find it.
  2. If I try to find files that start with dot in my local computer then it finds it well. Like here

So my question is: Why the method ignoreDotsFile doesn't works when is ftp address?

1 Answers
Related