GetListing operation errors with 'Directory not Found' when using string pattern

Sep 17, 2012 at 2:01 PM

Maybe I am not using the correct operation, but I am trying to use a wildcard pattern to find all of the files for today.  GetListing("09172012*_fcst.csv").  It works perfectly when there are files with that pattern, but I get the 'Directory not found' error when the pattern receives no results, when I expected to just get an empty array of FtpListItems.  Is there a better operation that i should be using for pattern matching?

Coordinator
Sep 17, 2012 at 2:05 PM

This code doesn't do any wild card matching. If wild cards work at all it's because the server accepted what you sent it.