Help for path

Buongiorno gruppo, ho questa necessità. Collegare il mio software da un computer con Linux ad un computer con Windows. Ho predisposto il programma affinché legga un file txt con la Path del database sqlite. Solo che ora impostando questa Pat il database non è raggiungibile, idee?

premetto che con un’altra installazione di Linux era riuscito a farlo , ma non ricordo come. Le immagini che ho postato sono quelle delle impostazioni sul computer remoto con Windows nelle impostazioni sul computer locale con Linux che avrà accesso al database su Windows e il percorso di rete letto dal computer con Linux.

You have a reference to the db on Windows ?
Use, for example FolderItem.NativePath to get the db path.

Else:
Ask the user to select the db file on Windows.

Warning:
Depending on the db kind (SQLite, MySQL, PostGre, etc.) what you apparently want to do will be problematic:
two or more users accessing the db file when they want for Read and Write ?

1 Like

via mount this windows share in linux?

Two days later, Frederico is still away :frowning:

weekend?

I think so…

There is an Italian section btw: Italiano - Xojo Programming Forum

Unless specifics for Italian users, used languages do no matter anymore witj nowadays browsers:

they have an AI translate for the html pages…

For Firefox, it is:
image

A click gave:

of course, a second click allows to get the original language.

I do not talk about the (loss of) translation quality (I used it to read OP question since I do not really read Italian).

Well, it’s doable, but since I never use that option, I don’t know where to find it (I don’t care very much) and I tend to just skip the message.
The fact that there’s a dedicated section is made for helping on that matter.

Sorry guys, I've been a bit busy. I found the solution: mount the remote address and access the SQLite database remotely from the mount point.

The SQLite website warns users about opening a database on a shared drive.

Thanks Ian

1 Like