I might be wrong here, but...
(Apologies if this has already been discussed, but I searched and couldn't see anything similar)
I am using version 13.01.25.0 of the FtpClient.
The server I am connecting sends a response to the FEAT command, which includes a line
The presence of "MLST" in this particular line appears to confuse the GetFeatures(...) method in FtpClient.cs, insofar as it causes the FtpCapability.MLSD to be set (note, MLS_D_, not MLST). Later on this causes GetListing(...) to use the MLSD command,
which my server doesn't support (resulting in a "Command not understood" message - sorry I didn't write it down...)
First, I'm not too sure if MLST capability and MLSD capability are the same thing? (referring to
) To be safe, I added a new FtpCapability.MLST(=1024) to the enumeration, and modified the GetFeatures(...) method to distinguish between MLSD and MLST.
Second, I'm not too sure what my server is trying to tell me with that particular response, but it seems to me that this particular line should not be interpreted to mean that MLST is supported. There is no further mention of MLST or MLSD in the response that
I am dealing with.
For my own purposes, the problem is resolved with the above two changes, but I just thought I'd throw this out there in case anyone else has encountered the same issues.
Let me know if I can provide further info or if I'm way off track.
(Thanks for the great library, by the way!)
Cheers - Andrew