Page 1 of 1

LAN plugin - directory names with a space as first char

Posted: 2011-07-08, 11:57 UTC
by HaPe
I found a problem with the LAN plugin.

On my (Windows-7) PC is a directory with a leading space character.
I can visit all other directories on this PC. But it is impossible to enter this directory.

The app "ES File manager" has the same problem.
It is no problem to visit the directory from another Windows PC.

(It is no problem to visit directories with a space in the middle of the name)

Tested on a Samsung Galaxy S2, newest beta (app and plugin)

Posted: 2011-07-11, 13:44 UTC
by ghisler(Author)
Apparently it's a bug in the used jcifs library, see e.g. this link:
http://samba.2283325.n4.nabble.com/smbfolder-listFiles-SmbFileFilter-drops-folders-with-a-leading-whitespace-td2515565.html

The only thing they recommend is "Solution : do not use paths with spaces in them. They are evil, and have
already caused the loss of thousands of productive hours. "...