LAN plugin - directory names with a space as first char

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
HaPe
Junior Member
Junior Member
Posts: 30
Joined: 2004-12-23, 05:52 UTC
Location: Bavaria

LAN plugin - directory names with a space as first char

Post 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)
[x] nail here for new monitor
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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. "...
Author of Total Commander
https://www.ghisler.com
Post Reply