[jcifs] Why does '%' in a URL fail for SmbFile.listFiles but not for SmbFile.exists

rosed rosed at lexmark.com
Fri Apr 18 21:13:05 GMT 2008

If I have a URL, for example
smb://vha08;vhabayfaberl:t%25est@vhabayfas1/vhabayfaberl$/ and I pass this
to SmbFile.exists, then I'm getting true returned and I'm able to save a
file in this folder.  But if I pass this same URL to SmbFile.listFiles then
I get a NT_STATUS_UNSUCCESSFUL exception.  Any ideas why these two calls
behave differently?

View this message in context: http://www.nabble.com/Why-does-%27-%27-in-a-URL-fail-for-SmbFile.listFiles-but-not-for-SmbFile.exists-tp16765519p16765519.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.

More information about the jcifs mailing list