thanks for your replyes.
I actually get this error when I open the page that points to the form
0 Directory folder specified is not a valid directory: stationsdata/lyb0/lyb0
the directory (symbolic link) from where I have to receive the list of files is precisely stationsdata / lyb0 / lyb0.