Zugriff auf Sambafreigabe Mac-Linux

Hallo liebe Leute,

in meinem ersten Projekt in Xojo Desktop möchte ich von einem Linux Client über eine Samba-Freigabe auf dem Server Dateien verschieben.

Wie kann ich das FolderItem erstellen, das dies ermöglicht?

Auf dem Mac kann ich mir nach Apfel-K
mit Server verbinden smb://IPv4/archiv/fax
mit
Dim ff As FolderItem
ff = SpecialFolder.UserBin.Parent.Parent.Child(“Volumes”).Child(“fax”)
helfen.

Es sollte doch aber eleganter gehen und auch auf Linux laufen.

Bin für eure Hilfe dankbar.

On OS X you should be able to find a Volume with the name fax

Dim ff As FolderItem
for i as integer = 0 to VolumeCount() - 1
    ff = Volume(i)
    if ff.Name = "fax" then exit
end if

BUT it is possible on OS X to have multiple volumes with the same name so that can be a problem trying to know if this is the right one

Not sure about how this might work on Linux though since I dont have a way to test that

Thanks a lot.

It works fine on MacOSX and on Linux if we

mount -t cifs -o username=,password= //IPv4/archiv/fax /media/archiv/fax

first