What have you tried? What was wrong with what you tried? Are you wanting to look for the last file in a specific directory? more than one directory? or All directories? What version of Delphi? Starting with Delphi 2010, there is a TFile.GetSize function. You'll probably need to find the list of files, then figure out which ones were created with the current date, then get the file size.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.