[jcifs] JCIFS 0.9 Objectives

Michael B Allen mba2000 at ioplex.com
Thu Feb 12 04:30:50 GMT 2004

Julian Reschke said:
> b.exists() -> false
> SmbFileOutputStream os = new SmbFileOutputStream(a); os.close();
> b.exists() -> false
> If this is by design, it shouldbe mentioned somewhere,
> and it may make sense to consider an explicit refresh() method.

No, this is not by design, it's the same bug you mentioned before about
lastModifed not updating immediately after a write. All I need to do is
add file.attrExpiration = file.sizeExpiration = 0 to
SmbFileOutputStream.write() after the open call.

The createFile() followed by exist() returning false problem is also just
a matter of setting file.atterExpiration = 0 in that method.

I'll fix those two in the next 0.8 release but ...

The setLastModifed not conisidering DST problem needs to be investigated.
You compared that to java.io.File where it really needs to be compared to
Windows2000 client setting the time on a server. That requires creating a
Win32 program to really see what happends so it goes on the back burner
but I have added it to my list of stuff to think about.


More information about the jcifs mailing list