[jcifs] changing last modified from a folder failed

Michael B Allen mba2000 at ioplex.com
Mon Jan 22 17:14:04 GMT 2007


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/


More information about the jcifs mailing list