[jcifs] Issues connecting to Windows-based shares

Michael B Allen ioplex at gmail.com
Sat Feb 16 22:41:33 MST 2013


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" <michell.bak at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20130217/451143b0/attachment.html>


More information about the jCIFS mailing list