I had the same problem. file.Modified would always return "1/1/0001 12:00:00 AM"
If you add the filter after the path, FtpListOption.Modify
file.Modified will return the actual time now... blew my mind. I just figured this out a minute ago and using it in my application now.
foreach (var file in ftpClient.GetListing(newpath, FtpListOption.Modify))
{
//Console.WriteLine(file.Modified);
if (file.Modified > lastRunTime)
{
//Download the file if it is newer than the last recorded run time.
//WriteLine is for debugging purposes
Console.WriteLine(file.Name);
}
}