Hello everyone, I am trying to download a file from a samba server.
I am trying to download a file from a samba server, but every time I try I get login error . In samba utility programs the, username and password I have works.
SMBClient_Resource(true,OK,smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/,smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/)
SMBClient_Resource(smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/, smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/)
CanonicalPath = smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/
CanonicalUncPath = smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/
this comes up when trying to copy
IOException: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
SMBClient_CopyResult(false)
please i need urgent help
I am trying to download a file from a samba server, but every time I try I get login error . In samba utility programs the, username and password I have works.
SMBClient_Resource(true,OK,smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/,smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/)
SMBClient_Resource(smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/, smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/)
CanonicalPath = smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/
CanonicalUncPath = smb://188.85.148.70:43222/HICEAMEFC/Home/Services/signdocs/
this comes up when trying to copy
B4X:
Sub SMBClient_Resource(success As Boolean, smbobjres As Object,smbobj As Object, info As String)
Log($"SMBClient_Resource(${success},${info},${smbobjres},${smbobj})"$)
If smbobjres <> Null And smbobj <> Null And info = "OK" Then
Dim smbResource As SMBResource = smbobjres
glRes = smbResource
Dim smbfile As SMBFile = smbobj
Dim smbResource As SMBResource = smbobjres
Log($"SMBClient_Resource(${smbResource}, ${smbfile})"$)
Log($"CanonicalPath = ${smbfile.CanonicalPath}"$)
Log($"CanonicalUncPath = ${smbfile.CanonicalUncPath}"$)
smbClient.Copy(smbfile,File.DirDefaultExternal,"configdoc.json")
End If
End Sub
IOException: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
SMBClient_CopyResult(false)
please i need urgent help