It does not work like that.
First, there should be no slash after file mask (as opposite to directory mask):
https://winscp.net/eng/docs/file_mask#directory
But even then, WinSCP does not even get to the
First, there should be no slash after file mask (as opposite to directory mask):
https://winscp.net/eng/docs/file_mask#directory
But even then, WinSCP does not even get to the
file.php file, because it does not get to the folderd folder, as it is implicitly excluded by your mask. You have to include folderd/.