B4J Question Accessing remote shares on linux

jmon

Well-Known Member
Licensed User
Longtime User
Hello,

I'm trying to connect to a linux network share on my computer but passing though the network. I shared a folder on my computer, but I need to connect to it through the network.

My computer (Ubuntu) 's IP is 192.168.1.10 and I want to use fx.ShowExternalDocument or File.MakeDir on that folder.

On Windows I would have done that:
B4X:
File.MakeDir("\\192.168.1.10\", "myFolder")
fx.ShowExternalDocument("\\192.168.1.10\myFolder")

but what is the path for linux shares?

Thank you for your help
Jmon.
 

jmon

Well-Known Member
Licensed User
Longtime User
OK I found out that I have to mount the remote share with mount.nfs to a local directory. In my case it's not really interesting because why would I mount a local directory to another local directory? Huhhh, Linux definitely not simple.
 
Upvote 0
Top