This project is read-only.

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

Sep 17, 2012 at 3: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?

Sep 17, 2012 at 3: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.