I am trying to get a list of files in the directory based on a wildcard. I am using the following syntax client.dir("*test*). It currently doesnt pull any files when I try to do this even though there are files with the word test in it. Are there any better ways to do this?
If you're using FTP then the pattern is simply passed directly to the server, so if the server doesn't understand it then you won't get what you expect.