[jcifs] Has anybody else seen problems with file names that start
with a dot?
Christopher R. Hertel
crh at ubiqx.mn.org
Fri Nov 7 07:27:37 EST 2003
The Novell system I have is 6.0 SP6 (though it reports itself as NetWare
5.0 when I query it using Samba's SMBclient tool).
Can you send a simple program to test this behavior? Something that takes
an SMB URL as an argument, so the software knows where to read/write the
On Tue, Nov 04, 2003 at 10:13:39PM -0500, Marc Savereux wrote:
> When using jcifs-0.7.14.jar and using the list() and listFiles() methods I not
> iced that the files that start with a dot are not treated the same.
> With an actual file name of ".profile" without the double quotes, building a d
> irectory listing using the list() method will retain the dot as the first char
> acter of the file name, however, building a directory listing via the listFile
> s() method will result in the dot being substituted by a space.
> list() -> ".profile"
> listFiles() -> " profile"
> However, I am able to create files that start with a dot via the jcifs librari
> es on file systems other than FAT and FAT32.
> I'm just wondering if anybody else has encountered a problem like mine when co
> mparing the result sets of an array of strings built via list() and an array o
> f SmbFile objects via listFiles()?
> I would think that the listFiles() behaviour I am seeing with files that start
> with a dot is not intended behaviour.
> Marc Savereux
> marc.savereux at xaro.com
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs