[jcifs] changing last modified from a folder failed

dasKleineb at gmx.net dasKleineb at gmx.net
Mon Jan 22 08:29:00 GMT 2007


> 
> > 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.

bastian 

> Mike

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the jcifs mailing list