I am using the JCIFS library and I have the samba file URL as
SmbFile file = new SmbFile("smb://domain;username:P@ssword@abc.com/share/filename.txt")
file.connect
Notice the password has an @
. Samba file connect is failing giving an java.net.UnknownHostException
. Other than parsing the URL and passing auth seperately using NtlmAuthentication
, is there any other way...
In the Format URL I tried putting square brackets and that did not help.