[jcifs] getName weirdness...
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Tue Feb 5 13:27:51 EST 2002
> -----Original Message-----
> From: rjw [SMTP:rob at wygand.com]
> Sent: Monday, February 04, 2002 6:23 PM
> To: jcifs at samba.org
> Subject: [jcifs] getName weirdness...
>
> Mike,
>
> If you attempt to list the shares on a server without a trailing slash
> on the URL ("smb://10.1.3.1" vs. "smb://10.1.3.1/"), jCIFS returns
> everything after the "smb://" as the name name of the requested file
> when you call getName().
>
I don't understand. I'm not seeing this. The examples/ListFiles.java
program doesn't show this behavior anyway.
> If you use the trailing slash (which is
> correct), jCIFS returns "smb://" when you call getName(). Really neither
> of these behaviors are correct, IMO.
>
I'm not seeing this either.
Mike
More information about the jcifs
mailing list