<p>Hi Michell,</p>
<p>Try a slash at the end of the Url.</p>
<p>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.</p>

<p>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).</p>
<p>Mike</p>
<div class="gmail_quote">On Jan 29, 2013 7:54 PM, "Michell Bak" <<a href="mailto:michell.bak@gmail.com">michell.bak@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">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.<div>


<br></div><div>I've posted a detail explanation of the issue on StackOverflow:</div><div><a href="http://stackoverflow.com/questions/14594208/slow-file-listing-with-jcifs-on-windows" target="_blank">http://stackoverflow.com/questions/14594208/slow-file-listing-with-jcifs-on-windows</a><br>


</div><div><br></div><div>Thanks a lot,</div><div>Michell</div></div>
</blockquote></div>