I also receive this exception.
Exception: String was not recognized as a valid DateTime.
at System.DateTimeParse.ParseFormatError(Boolean isThrowException, String resourceID)
at System.DateTimeParse.ParseDigits(__DTString str, Int32 digitLen, Boolean isThrowExp, Int32& result)
at System.DateTimeParse.ParseByFormat(__DTString str, __DTString format, ParsingInfo parseInfo, DateTimeFormatInfo dtfi, Boolean isThrowExp, DateTimeResult result)
at System.DateTimeParse.DoStrictParse(String s, String formatParam, DateTimeStyles styles, DateTimeFormatInfo dtfi, Boolean isThrowExp, DateTime& returnValue)
at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)
at System.DateTime.ParseExact(String s, String format, IFormatProvider provider)
at EnterpriseDT.Net.Ftp.WindowsFileParser.Parse(String raw)
at EnterpriseDT.Net.Ftp.FTPFileFactory.Parse(String[] files)
at EnterpriseDT.Net.Ftp.FTPClient.DirDetails(String dirname)
at Scan.frm_Main.b_Login_Click(Object sender, EventArgs e) in c:\development\scan\frm_main.cs:line 1458
Output from a directory listing is:
drwxr-xr-x 2 user site46 3072 Dec 8 15:22 oct21
drwxr-xr-x 2 user site46 3072 Dec 26 12:26 oct22
drwxr-xr-x 2 user site46 3072 Dec 26 13:15 oct23
drwxr-xr-x 2 user site46 3072 Dec 26 13:54 oct24
The issue is directly related to the fact that I am have my development machine set to nb_NO culture (Bokm