Quantcast
Channel: Alex FTPS Client
Viewing all articles
Browse latest Browse all 114

Created Unassigned: GetDirectoryList [8976]

$
0
0
Hi,

In __DirectoryListParser__ class for the method
> public static IList<DirectoryListItem> GetDirectoryList(string datastring)


When I try to get the directory list from my ftp server, it returns the files info with a return char '\r' on the first line which cause the parsing to fail.

This is my content unparsed:
"\r"
"-rwxr-x--- 1 system 1 1475072 Aug 21 23:34 MYFILE.TXT\r"
""

I fix it by modifying the line 26:
> _directoryListStyle != EDirectoryListingStyle.Unknown && s != ""
> _directoryListStyle != EDirectoryListingStyle.Unknown && s != "" __&& s != "\r"__

Can you do something about it?

Thanks,

Viewing all articles
Browse latest Browse all 114