[jcifs] changing last modified from a folder failed

Michael B Allen miallen at ioplex.com
Tue Feb 5 22:03:15 GMT 2008


Could not reproduce. Setting the lastModified and createTime on folders works as expected here.

On Mon, 22 Jan 2007 12:14:04 -0500
Michael B Allen <mba2000 at ioplex.com> wrote:

> On Mon, 22 Jan 2007 09:29:00 +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?
> > 
> > looks like setCreateTime does not work folders.
> 
> Ok, well I'll add this to The List for investigation at a later time.
> 
> Mike
> 
> -- 
> Michael B Allen
> PHP Active Directory SSO
> http://www.ioplex.com/
> 


-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/


More information about the jcifs mailing list