Android Question SMB question

gpe

Member
Licensed User
Longtime User
hi,
I cannot get working SMB other than in c:\
In c: everything work perfectly, in other disks or in a network success is always false.
Is that correct or I'm missing something?
txs
 

gpe

Member
Licensed User
Longtime User
hi Erel

Installing file.
PackageAdded: package:gpe.test.network
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
(SmbException) jcifs.smb.SmbException: The network name cannot be found.

sorry for my ignorance about "The network name cannot be found", but if the path is "c" , SUCCESS is true anyways, whilst if is "d", success is false, no extra message shown, f.e.

SMB1.DownloadFile("smb://GPN/c/shared/","prova.txt") gives SUCCESS= true
SMB1.DownloadFile("smb://GPN/d/test/","prova.txt") gives SUCCESS= false
txs
 
Upvote 0

rboeck

Well-Known Member
Licensed User
Longtime User
Maybe it's a problem with access rights...; you can install total commander with the LAN plugin. Here you can try your network with all access rights.
 
Upvote 0

gpe

Member
Licensed User
Longtime User
I believe to have checked everything, tried to create with new folders and names, no result at all.
Now i't ever worse:

Installing file.
PackageAdded: package:anywheresoftware.b4a.objects.smb
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
CopyFile : cccam.txt copied


Everything is OK, unfortunately the file copied doesn't exist in the destination folder (Users/Public/)
 
Upvote 0

rboeck

Well-Known Member
Licensed User
Longtime User
Another idea: i had very strange effects with the smb library, when the name of the file had another upper / lowercase combination then the original file; the copy process startet, but later stopped, the file was broken...
 
Upvote 0

gpe

Member
Licensed User
Longtime User
probaly is a problem of Windows' account not allowing sharing. Very strange.
txs anyways
gp
 
Upvote 0
Top