I am attempting to use FileInfoReturn on a client running Mac OS 10.6.8 with K1000 Agent 5.3.53177. I am not able to obtain the file creation date at all. I have tried the following arguements: creation_time, modification_time and access_time. Each of these appears to have the same fundamental flaw; they function as access_time.

EXPECTED COMMAND SYNTAX

FileInfoReturn(/Library/Application Support/3rdPartyApp/licence.xml,creation_time,DATE)

LIST OF BUG MANIFESTATIONS

Regardless of the arguement used the Custom Inventory Field is updated with the current date and time each time the Invetory Update is ran. The Modified date and Accessed date are updated on the client computer (e.g. the file was "touch"ed). None of the arguements act as the creation_time is expected to by returning the Created date from the file on client machine.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2

Try CreatedDate instead of creation_time.

If that doesn't work, there may be a different problem: http://www.faqs.org/faqs/unix-faq/faq/part3/section-1.html

In either case, see if you can duplicate it on a different file.  If so, open up a support ticket at https://support.kace.com so it can be looked into.

Answered 09/06/2012 by: jknox
Red Belt

  • Did this work?
Please log in to comment
Answer this question or Comment on this question for clarity