[jcifs] changing last modified from a folder failed

Michael B Allen mba2000 at ioplex.com
Sun Jan 21 17:49:34 GMT 2007

Please send all messages through the JCIFS mailing list.

On Sun, 21 Jan 2007 09:08:01 +0100
dasKleineb at gmx.net wrote:

> If I use the last modified method on a file the date
> changed, but if I use it on a folder nothing happens.
> The folder stay with the old date.
> the windows explorer showed 3 date states for a file
>   Created
>   Modified
>   Accessed 
> but only one for a folder
>   Created
> Maybe this is the reason, a folder has no Modified
> or Accessed state?

Ahh, ok. Yes, that sounds like the case. I should update the documentation
to indicate that it does not apply to directories.

So does setCreateTime work?


Michael B Allen
PHP Active Directory SSO

More information about the jcifs mailing list