The list parser returns DateTime.Now if there was a problem parsing the date, but that doesn't seem to be the case here. The following code parses the modified date fine using the same parser used by the GetList method:
FtpItem item = FtpItem.Parse("-rw-rw-rw- 1 user group 1929 Jun 1 18:02 xyz.zip");
Console.WriteLine(item.Modified);
There might be some additional non-printable characters in the raw listing that cause the problem you describe.
In order to determine what is going on, please try calling GetRawList instead of GetList method and send us the result - encode the lines as Base64 to preserve the original content:
System.Text.StringBuilder listing = new System.Text.StringBuilder();
string[] lines = ftp.GetRawList();
foreach (string line in lines)
{
string encodedLine = Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(line));
listing.AppendLine(encodedLine);
}
string result = listing.ToString();
Mail us the content of result
to support@rebex.net or edit your question to include the listing.
If you prefer VB.NET, please let me know.