Directory +INFO

Started by James Zukowski, April 08, 2021, 04:38:10 PM

Previous topic - Next topic

James Zukowski

According to the documentation, we can get detailed file information by opening a directory with opt="+INFO". This provides:

  • File name
  • File type ("F" for file, "D" for directory)
  • File size in bytes
  • Date created
  • Date last modified
  • Date last accessed
I'm presuming this is the order the data comes back in. If that's the case, how can I get a Creation date that's after the Last Modified date?

Thanks for any clarifications.
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

RobL

Hi James,

That can happen if the file is a copy of another file. The copy of the file gets a new 'creation date', but keeps the original 'last modified' date.  That's what happens on Windows, not sure if it's the same on Linux.

Hope that helps!

Rob Leighton
Riverwood Enterprises Inc.

Devon Austen

I can confirm after looking at the code that that order in the doc is correct.
Principal Software Engineer for PVX Plus Technologies LTD.

James Zukowski

James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services