[jcifs] SmbFile.isDirectory differs from java.io.File.isDirectory?

Michael B.Allen mba2000 at ioplex.com
Thu Apr 17 03:57:09 EST 2003

On Wed, 16 Apr 2003 11:29:31 -0600
"Barry Roberts" <blroberts at xactware.com> wrote:

> "true if and only if the file denoted by this abstract pathname exists and is a directory"
> SmbFile, however would return true when the directory didn't in fact
> exist on the Samaba server.  I would think that this is incorrect,
> and I changed line 1002 in SmbFile.java (0.7.3) from

SmbFile should behave exatly like java.io.File yes. I'll look at it.


A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 

More information about the jcifs mailing list