Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: User Who Modified File

by rpnoble419 (Pilgrim)
on Sep 26, 2012 at 18:22 UTC ( #995848=note: print w/replies, xml ) Need Help??

in reply to User Who Modified File

What type of files are you tracking? Are you tracking Office files? What about PDF files? Or are you tracking any file submitted?

To track Office (2007=<) files you can query the internal XML file (docProp -> core.xml) for the lastModifiedBy and dcterms:modified flags. This will give you the date of modification and the actual name of the person you modified the file, not just the name of the person who uploaded the file to the CMS. These properties are st every time the file is touched.

PDF files also have a document properties that can be queried by PDF::API2 using the $pdf->info(%infohash) function. Most of these properties have to be set when you create the document.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995848]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-28 17:58 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (432 votes). Check out past polls.