I am using Delphi 5 and NMFTP Component.
I need to get the date of the files in the server.
I want to do something like this:
with NMFTP1 do
ParseList := TRUE;
//gets a listing of files,names,dates&attributtes
Name1stFile := FTPDirectoryList.Name;
Date1stFile := FTPDirectoryList.ModifDate;
The date recovered is in this format "Aug 2 18:08"
But i need something that i can convert to datetime, and of course the year...
It not depends on server configuration because BulletProof FTP get then date by the way in need "02/08/2001 18:08:00" as configured in my machine, so there may be a way...
Thanks to you all