[jcifs] Has anybody else seen problems with file names that startwith a dot?

Marc Savereux marc.savereux at rogers.com
Thu Nov 6 12:00:59 EST 2003

The target CIFS server with which I have encountered this issue is the one that
comes with NetWare 6.5.
The jCIFS client is running on a NetWare 6.0 SP3 host (JVM 1.3.1).

Marc Savereux

>> With an actual file name of ".profile" without the double quotes, building
>> a directory listing using the list() method will retain the dot as the
>> first character of the file name, however, building a directory listing
>> via the listFiles() method will result in the dot being substituted by a
>> space.
>> list() -> ".profile"
>> listFiles() -> " profile"
>Most definitely a bug. I'm a little surprised no one has spotted it all
>this time which leads me to believe it was either recently introduced or
>it's specific to certain "environmental conditions".
>What server's have you tried that exhibit this behavior?
>I'll look into it tomarrow...
>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.
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list