[jcifs] Issues with file names that start with a space

Jake Goulding goulding at vivisimo.com
Wed Feb 21 20:00:49 GMT 2007


Hey all, I have a share that has a file named " spacey.txt". If I do a 
listFiles() on the containing directory, I am given the file name 
"spacey.txt" (notice missing leading space). Then, when I try to get 
that file, it of course cannot be found. Is there some trick to get 
these files to be listed properly?

Thanks!


More information about the jcifs mailing list