Detailed File Information for One File

Richard Gaskin ambassador at fourthworld.com
Thu Apr 26 19:25:50 EDT 2018


Bob Sneidar wrote:

 > I can't find anything on the forums, which is par for the course, evwn
 > though I know it's been discussed. Is there an LC way to get details
 > about a file without shelling out to do it? I need to get the last
 > modified date of a file so I can check to see if I need to update the
 > version in a database when importing it. I would very much NOT like
 > having to get the detailed files of a folder and filter for the file I
 > am looking for as I already have a path to the actual file, and a
 > folder may contain a lot of files.

I do not believe this has been implemented yet:
https://quality.livecode.com/show_bug.cgi?id=20384

That said, wasteful as "the detailed files" is it's probably more 
efficient in most cases than the overhead of initing a shell session. 
I've had good performance even in directories with tens of thousands of 
files.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the Use-livecode mailing list