Default Parsers Accessibility

Feb 27, 2014 at 9:47 PM

It would be nice if the default parsers in the System.Net.FtpClient namespace were set with public accessibility. This would allow consumers to more easily adjust the parsers and not rely on copying the code if they wanted to use only one parser. This would also allow adding additional checks before entering a particular parser.

For instance, I am using System.Net.FtpClient to communicate with a Hylafax server. Hylafax will sometimes return a normal Unix long listing, but can also return a specially formatted listing for some paths. I'd like to be able to quickly check if I need to use the Unix parser or just return the FtpListItem with the Input member set to parse into a different class.