I want to get the newest file in a directory and I assume the best way to do that is use GetList on the directory and look at the modified date on each file and then call GetFile on it. The problem is the modified date on each file show as today even though I use another FTP client and it shows the correct modified date. How do I get the actual modified date.
FtpList files = ftp.GetList();
string arrFiles = new string[files.Count];
for (int i = 0; i < files.Count; i++)
arrFiles[i] = files[i].Name + ' ' + files[i].Modified;