Re: Issues connecting to Windows-based shares

Michael B Allen <[email protected]> Sun, 17 Feb 2013 00:41:33 -0500
Newsgroups gmane.network.samba.java
Message-ID <CAGMFw4hy8kvnaKQKNyMd75mAtQJf27Vk8swfTGTcp72bV3sSsA@mail.gmail.com>
Hi Michell,

Try a slash at the end of the Url.

JCIFS smb URLs that refer to a directory must end with a trailing slash. I
think normally jcifs will throw an exception if you don't use a trailing
slash on a directory but it cannot always catch it. Its just a quirk in the
URL handling code.

Or it could be something specific to Android. I've never actually tried
jcifs on Android (despite the fact that I'm typing this message on an
Android phone).

Mike
On Jan 29, 2013 7:54 PM, "Michell Bak" <[email protected]> wrote:

> I've got some issues connecting to Windows network shares using jCIFS on
> Android. It works great if I use "guest" as the user and leave the password
> blank, but if I attempt to log in as an actual user, it'll be extremely
> slow or fail.
>
> I've posted a detail explanation of the issue on StackOverflow:
>
> http://stackoverflow.com/questions/14594208/slow-file-listing-with-jcifs-on-windows
>
> Thanks a lot,
> Michell
>